/* ============================================================
   TEMMETA - Shared Stylesheet
   The visual system, defined once. All pages inherit this.

   Built on the Lifestyle Solutions 2026 CI, elevated as a senior
   sibling: the same contained-panel layout DNA (framed cards on a
   soft ground), calibrated up with serif display type, a deeper
   champagne accent and more generous space.
   ============================================================ */

:root {
  /* Colour - matched to the Lifestyle Solutions 2026 CI.
     Navy and sand are the CI values; the accent is one notch
     deeper, a more substantial champagne for the senior brand. */
  --navy:        #0f233a;
  --navy-deep:   #0b1a2a;
  --ink:         #2a3744;
  --ink-soft:    #5d6a76;
  --champagne:   #c7ad8a;
  --champagne-dp:#a98f63;
  --champagne-lt:#d8c4a4;
  --sand-bg:     #f2e9dd;
  --sand-soft:   #f6f1e8;
  --page:        #eef0f1;   /* soft grey page ground - panels float on it */
  --line:        #e2d8c6;
  --line-cool:   #e6e7e9;
  --white:       #ffffff;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --shell:  78rem;
  --gap:    1.5rem;          /* gap between panels                  */
  --pad:    clamp(1.8rem, 3.4vw, 3.4rem);  /* inner panel padding   */
  --radius: 6px;
  --shadow: 0 18px 40px -24px rgba(15,35,58,0.28);
  --shadow-sm: 0 10px 24px -18px rgba(15,35,58,0.30);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- Typography -------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.16;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p  { max-width: 38rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne-dp);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 1.7rem; height: 1px;
  background: var(--champagne);
  flex-shrink: 0;
}
.eyebrow--light { color: var(--champagne-lt); }
.eyebrow--center { justify-content: center; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 34rem;
}

/* ---- Layout shell ------------------------------------------ */
.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
/* vertical rhythm between stacked panels */
.stack > * + * { margin-top: var(--gap); }
.region { padding-block: var(--gap); }

/* ---- Panel: the core LS-DNA container ---------------------- */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
}
.panel--sand   { background: var(--sand-bg); }
.panel--navy   { background: var(--navy); color: #c4cdd6; }
.panel--navy h2, .panel--navy h3, .panel--navy h4 { color: var(--white); }
.panel--flush  { padding: 0; overflow: hidden; }   /* for image panels */
.panel--tall   { padding-block: clamp(3rem, 6vw, 5.5rem); }

/* ---- Header / nav ------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy);
}
.nav {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.logo__word {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--white);
}
.site-footer .logo__word { color: var(--white); }

.nav__links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
.nav__links a {
  font-size: 0.85rem; letter-spacing: 0.04em;
  text-decoration: none; color: #c4cdd6;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--white); border-bottom-color: var(--champagne); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--champagne); color: var(--white); }

.lang { display: flex; gap: 0.5rem; font-size: 0.77rem; letter-spacing: 0.05em; align-items: center; }
.lang a { text-decoration: none; color: #8794a1; transition: color 0.2s; }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { color: var(--champagne-lt); font-weight: 500; }
.lang span { color: #3a4a5c; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); margin: 5px 0; transition: 0.3s var(--ease);
}

/* ---- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.83rem; letter-spacing: 0.06em;
  text-decoration: none; padding: 0.92rem 1.7rem;
  border-radius: var(--radius); cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--champagne-dp); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-cool); }
.btn--ghost:hover { border-color: var(--champagne); color: var(--champagne-dp); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--light:hover { border-color: var(--champagne-lt); color: var(--champagne-lt); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none;
  color: var(--champagne-dp); border-bottom: 1px solid var(--line);
  padding-bottom: 3px; transition: border-color 0.25s var(--ease);
}
.link-arrow:hover { border-bottom-color: var(--champagne); }
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.panel--navy .link-arrow { color: var(--champagne-lt); border-bottom-color: rgba(199,173,138,0.4); }

/* ---- Hero: two-panel composition (LS DNA) ------------------ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
}
.hero__text {
  background: var(--navy);
  color: #c4cdd6;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2.4rem, 4.5vw, 4.2rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero__text h1 { color: var(--white); max-width: 14ch; }
.hero__text .lead { color: #aab4be; margin-top: 1.5rem; }
.hero__cta { margin-top: 2.3rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
/* faint oversized shutter, bled into the corner */
.hero__mark {
  position: absolute; right: -6rem; bottom: -6rem;
  width: 22rem; height: 22rem;
  opacity: 0.05; pointer-events: none;
}
.hero__media {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; position: relative;
  min-height: 30rem;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.03) brightness(0.98) sepia(0.04);
}
/* subtle navy wash keeps imagery in the brand palette */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,35,58,0.10), rgba(15,35,58,0.30));
}

/* ---- Section heading inside panels ------------------------- */
.head { max-width: 60rem; margin-bottom: 2.6rem; }
.head h2 { margin-bottom: 0.85rem; }
.head p { color: var(--ink-soft); max-width: 38rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center p { margin-inline: auto; }

/* ---- Sub-card grid (inside a panel) ------------------------ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--gap);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* tile: a framed sub-card within a panel */
.tile {
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  background: var(--white);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.panel--sand .tile {
  border-color: var(--line-cool);
  background: var(--white);
  box-shadow: 0 8px 20px -16px rgba(15,35,58,0.30);
}
.panel--navy .tile {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}
.tile:hover {
  border-color: var(--champagne);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.tile h3 { margin-bottom: 0.55rem; font-size: 1.28rem; }
.tile p  { font-size: 0.96rem; color: var(--ink-soft); }
.panel--navy .tile p { color: #aab4be; }

/* numbered medallion - a quiet serif numeral, not a decorative icon */
.medallion {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.tile .medallion .medallion__num,
.medallion__num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #e8dcc4 !important;   /* high-contrast cream on navy, override-proof */
  line-height: 1;
  opacity: 1;
}
.panel--navy .medallion { background: rgba(255,255,255,0.1); }

.tile__num {
  font-family: var(--serif);
  font-size: 2.2rem; line-height: 1;
  color: var(--champagne); display: block; margin-bottom: 0.9rem;
}
/* a quiet champagne rule, used where a tile needs a marker but not a number */
.tile__rule {
  display: block; width: 2.2rem; height: 2px;
  background: var(--champagne); margin-bottom: 1.1rem;
}

/* ---- Two-column split within a panel ----------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.split--media { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
.split--media > div { display: flex; flex-direction: column; justify-content: center; }

/* Contained single-column section - left-aligned, calm, with a firm
   left edge and a consistent reading measure so text never rags or
   stops mid-panel. The contained width prevents the empty-space look. */
.section-block {
  max-width: 60rem;
}
.section-block h2 { margin-bottom: 1rem; }
.section-block p {
  color: var(--ink-soft);
  max-width: 38rem;
}
.section-block p + p { margin-top: 1rem; }
.section-block .lead { color: var(--ink); max-width: 40rem; }
/* a pull-quote, left-aligned, readable on any panel */
.section-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.45;
  color: var(--navy);
  max-width: 34rem;
  margin: 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--champagne);
}
.panel--sand .section-quote { color: var(--navy); }
.panel--navy .section-quote { color: var(--champagne-lt); border-left-color: var(--champagne); }
.split__media {
  border-radius: var(--radius); overflow: hidden;
  position: relative; min-height: 23rem;
  align-self: stretch;
}
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.03) brightness(0.98) sepia(0.04);
}
.split__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(15,35,58,0.04), rgba(15,35,58,0.16));
}

/* ---- Stat band --------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 2rem 1.5rem;
}
.stat__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--navy); }
.panel--navy .stat__num { color: var(--white); }
.stat__label {
  font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.5rem;
}
.panel--navy .stat__label { color: #aab4be; }

/* ---- Book feature ------------------------------------------ */
.book { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.book__cover-img {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 26px 50px -26px rgba(11,26,42,0.6);
}
.book__cover-img img {
  width: 100%; height: auto; display: block;
}

/* ---- Frameworks list --------------------------------------- */
.framework {
  border-top: 1px solid var(--line-cool);
  padding-block: 1.7rem;
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.3rem; align-items: baseline;
}
.framework:last-child { border-bottom: 1px solid var(--line-cool); }
.framework__idx { font-family: var(--serif); color: var(--champagne-dp); font-size: 1.15rem; }
.framework h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.framework p { font-size: 0.96rem; color: var(--ink-soft); max-width: 48rem; }

/* ---- Note / disclaimer ------------------------------------- */
.note {
  border-left: 2px solid var(--champagne);
  padding: 0.3rem 0 0.3rem 1.5rem;
  font-size: 0.93rem; color: var(--ink-soft); max-width: 54rem;
}
.panel--navy .note { color: #aab4be; }

/* ---- CTA panel --------------------------------------------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1rem; }
.cta p { margin-inline: auto; margin-bottom: 2rem; color: #aab4be; }

/* ---- Forms ------------------------------------------------- */
.form-grid { display: grid; gap: 1.3rem; max-width: 38rem; }
.field label {
  display: block; font-size: 0.78rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 0.82rem 1rem; border: 1px solid var(--line-cool);
  border-radius: 4px; background: var(--white);
  transition: border-color 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--champagne);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field__hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; }
.form-foot { margin-top: 0.4rem; }
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55;
}
.form-consent input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.form-consent a { color: var(--champagne-dp); }

/* ---- Contact page ------------------------------------------ */
/* The inquiry form is one half of a split; it fills its column. */
.contact-split .form-grid { max-width: none; }
.contact-aside {
  align-self: start;
  border-left: 2px solid var(--champagne);
  padding-left: 1.6rem;
}
.contact-aside h2 { margin-bottom: 1rem; }
.contact-aside p { color: var(--ink-soft); }
.contact-aside p + p { margin-top: 1rem; }
.contact-steps { list-style: none; margin-top: 1.6rem; }
.contact-steps li {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1rem; align-items: baseline;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line-cool);
}
.contact-steps li:last-child { border-bottom: none; }
.contact-steps .step__idx {
  font-family: var(--serif); font-style: italic;
  color: var(--champagne-dp); font-size: 1.1rem;
}
.contact-steps .step__text { font-size: 0.95rem; color: var(--ink-soft); }
.contact-steps .step__text strong {
  display: block; font-weight: 500; color: var(--navy);
  font-family: var(--serif); font-size: 1.08rem; font-style: normal;
  margin-bottom: 0.15rem;
}
/* Direct-detail tiles */
.detail__label {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--champagne-dp); margin-bottom: 0.6rem;
}
.detail__value { font-size: 0.98rem; color: var(--ink); line-height: 1.6; }
.detail__value a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.detail__value a:hover { border-bottom-color: var(--champagne); }
/* Deferred scheduling-embed slot */
.embed-slot {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 1rem;
  min-height: 12rem; padding: 2.5rem 1.5rem;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--white);
}
.embed-slot p { color: var(--ink-soft); max-width: 34rem; margin: 0; }
.panel--sand .embed-slot { background: rgba(255,255,255,0.5); }

@media (max-width: 940px) {
  .contact-split .split, .contact-split .split--media { grid-template-columns: 1fr; }
  .contact-aside { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .field--row { grid-template-columns: 1fr; }
}

/* ---- Placeholder markers ----------------------------------- */
.placeholder-tag {
  display: inline-block; font-family: var(--sans);
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--champagne-dp); background: rgba(199,173,138,0.14);
  border: 1px dashed var(--champagne); border-radius: 2px;
  padding: 0.18rem 0.5rem;
}
/* placeholder ribbon on image panels */
.ph-ribbon {
  position: absolute; z-index: 3; top: 0.9rem; left: 0.9rem;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white);
  background: rgba(15,35,58,0.78); border: 1px solid rgba(199,173,138,0.5);
  border-radius: 2px; padding: 0.28rem 0.6rem;
}

/* ---- Footer ------------------------------------------------ */
.site-footer { margin-top: var(--gap); }
.footer-panel {
  background: var(--navy-deep); color: #8794a1;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 4vw, 3.8rem) var(--pad) 2.2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.4rem; padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 {
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--champagne-lt); margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { text-decoration: none; color: #8794a1; font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--white); }
.footer__tag { font-size: 0.9rem; margin-top: 0.9rem; max-width: 22rem; line-height: 1.6; }
.footer__motto {
  font-family: var(--serif); font-style: italic;
  color: var(--champagne-lt); font-size: 1.05rem; margin-top: 1rem;
}
.footer-bottom {
  padding-top: 1.9rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; font-size: 0.79rem; color: #6a7783;
}
.footer-bottom a { color: #6a7783; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---- Reveal-on-scroll -------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive -------------------------------------------- */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: 20rem; }
  .split, .split--media, .book { grid-template-columns: 1fr; gap: 2rem; }
  .split__media { min-height: 16rem; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .lang { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { flex-wrap: wrap; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 1.2rem; width: 100%; padding-top: 1.5rem; margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .nav.is-open .lang { display: flex; width: 100%; padding-top: 1rem; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .book__cover-img { max-width: 15rem; margin-inline: auto; }
}

/* ============================================================
   WORDPRESS-SPECIFIC COMPONENTS
   Styling for content the block editor and WP templates produce.
   ============================================================ */

/* ---- Accessibility: skip link ------------------------------ */
.skip-link.screen-reader-text {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff;
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--radius) 0;
  font-size: 0.85rem; text-decoration: none;
}
.skip-link.screen-reader-text:focus { left: 0; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ---- Prose: editor content inside a panel ------------------ */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.9rem; }
.prose h3 { margin-top: 1.9rem; font-size: 1.35rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose a { color: var(--champagne-dp); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: 0.4rem; }
.prose blockquote {
  border-left: 2px solid var(--champagne);
  padding-left: 1.5rem; margin-block: 1.6rem;
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink);
}
.prose img { border-radius: var(--radius); margin-block: 1.6rem; }
.prose figure { margin-block: 1.8rem; }
.prose figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }
.prose--article { font-size: 1.12rem; }
.prose--article p { line-height: 1.75; }

/* ---- Legal pages (Privacy, Legal Notice, Impressum) -------- */
/* "Last updated" / effective-date line under the heading. */
.legal-meta {
  font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--ink-soft); margin-bottom: 2rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-cool);
}
/* Draft-review notice - clearly marks unreviewed legal text. */
.legal-draft {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: rgba(199,173,138,0.12);
  border: 1px dashed var(--champagne);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem; margin-bottom: 2.2rem;
  font-size: 0.9rem; line-height: 1.6; color: var(--ink);
}
.legal-draft strong { color: var(--champagne-dp); }
.legal-draft .legal-draft__mark {
  font-family: var(--serif); font-style: italic;
  color: var(--champagne-dp); font-size: 1.2rem; flex-shrink: 0;
  line-height: 1.3;
}
/* Tighter, denser prose for legal text. */
.prose--legal { max-width: 46rem; margin-inline: auto; }
.prose--legal h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.prose--legal h3 { font-size: 1.18rem; margin-top: 1.7rem; }
.prose--legal p, .prose--legal li { font-size: 0.97rem; line-height: 1.7; }
.prose--legal .legal-section-num {
  font-family: var(--serif); color: var(--champagne-dp);
  font-style: italic; margin-right: 0.4rem;
}

/* ---- Page hero media (featured image as a flush panel) ----- */
/* ---- Interior page header: a slim navy title strip --------- */
.page-header {
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem var(--pad);
}
.page-header .eyebrow { color: var(--champagne-lt); margin-bottom: 0.5rem; }
.page-header .eyebrow::before { background: var(--champagne); }
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  margin: 0;
}

.page-hero-media { position: relative; }
.page-hero-media img {
  width: 100%; height: clamp(16rem, 34vw, 26rem);
  object-fit: cover; display: block;
}

/* ---- Insights cards ---------------------------------------- */
.insights-grid { gap: var(--gap); }
.insight-card { padding: 0; overflow: hidden; }
.insight-card__link { text-decoration: none; color: inherit; display: block; height: 100%; }
.insight-card__media { overflow: hidden; aspect-ratio: 8 / 5.6; }
.insight-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.insight-card:hover .insight-card__media img { transform: scale(1.04); }
.insight-card__body { padding: 1.7rem 1.6rem; }
.insight-card__meta {
  display: flex; gap: 0.7rem; align-items: center;
  font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 0.8rem;
}
.insight-card__cat { color: var(--champagne-dp); }
.insight-card__title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.insight-card__excerpt { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ---- Post meta --------------------------------------------- */
.post-meta {
  display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 1rem;
}
.post-meta__sep { color: var(--line); }
.post-tags { margin-top: 2rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.post-tags a {
  font-size: 0.78rem; color: var(--ink-soft); text-decoration: none;
  border: 1px solid var(--line-cool); border-radius: 2px;
  padding: 0.25rem 0.7rem; transition: border-color 0.2s, color 0.2s;
}
.post-tags a:hover { border-color: var(--champagne); color: var(--champagne-dp); }

/* ---- Post navigation --------------------------------------- */
.post-nav__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.post-nav__item { text-decoration: none; color: inherit; display: block; }
.post-nav__item--next { text-align: right; }
.post-nav__dir {
  display: block; font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--champagne-dp); margin-bottom: 0.3rem;
}
.post-nav__title { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }

/* ---- Pagination -------------------------------------------- */
.pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6rem; height: 2.6rem; padding: 0 0.6rem;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line-cool); border-radius: var(--radius);
  font-size: 0.9rem; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--champagne); color: var(--champagne-dp); }
.pagination .page-numbers.current {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* ---- Comments ---------------------------------------------- */
.comments-area { max-width: 44rem; }
.comments-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.comment-list { list-style: none; }
.comment-list li { margin-bottom: 1.5rem; }
.comment-body { border-bottom: 1px solid var(--line-cool); padding-bottom: 1.2rem; }
.comment-author { font-weight: 500; }
.comment-meta { font-size: 0.8rem; color: var(--ink-soft); }

/* ---- WP core block alignment ------------------------------- */
.prose .alignwide { max-width: 52rem; margin-inline: auto; }
.prose .alignfull { max-width: none; }
.prose .wp-block-image img { border-radius: var(--radius); }

/* ---- Contact page form ------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,4vw,3.5rem); }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { margin-top: 1.4rem; }
.contact-detail__label {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--champagne-dp); margin-bottom: 0.25rem;
}
.contact-detail__value { font-size: 1.05rem; color: var(--ink); }

/* ---- Polylang language switcher (inherits .lang) ----------- */
.lang .pll-current-lang { font-weight: 500; }

/* Deep-link targets on the Insights page */
#book, #frameworks, #writing { scroll-margin-top: 6rem; }

/* Multi-word nav labels (DE/ES) stay on one line; wrapping happens between items */
.footer nav a, .footer ul a { white-space: nowrap; }

/* ---- WPForms: match the theme ------------------------------- */
/* WPForms ships its own styling (the default blue submit). These
   overrides bring the plugin's markup into the Temmeta palette and
   typography, matching the interim form's fields and the site's
   .btn--primary button. Specificity mirrors WPForms' own selectors. */
div.wpforms-container-full .wpforms-form .wpforms-field-label {
  font-size: 0.78rem !important; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-soft) !important;
  font-weight: 500 !important; margin-bottom: 0.45rem !important;
  font-family: var(--sans) !important;
}
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea {
  background: var(--white) !important;
  border: 1px solid var(--line-cool) !important;
  border-radius: 6px !important;
  padding: 0.75rem 0.9rem !important;
  font-family: var(--sans) !important; font-size: 0.95rem !important;
  color: var(--ink) !important;
  transition: border-color 0.25s var(--ease);
}
div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form textarea:focus,
div.wpforms-container-full .wpforms-form select:focus {
  border-color: var(--champagne) !important;
  box-shadow: 0 0 0 3px rgba(184,155,110,0.15) !important;
  outline: none !important;
}
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form .wpforms-submit {
  background: var(--navy) !important;
  color: var(--white) !important;
  border: 1px solid var(--navy) !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.9rem !important;
  font-family: var(--sans) !important;
  font-size: 0.92rem !important; letter-spacing: 0.04em;
  transition: background 0.3s var(--ease) !important;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form .wpforms-submit:hover {
  background: var(--champagne-dp) !important;
  border-color: var(--champagne-dp) !important;
}
div.wpforms-container-full .wpforms-form .wpforms-field-description,
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
  color: var(--ink-soft) !important; font-size: 0.82rem !important;
}

/* Founder slot showing the book cover: present the cover whole (contain),
   on a quiet sand field, instead of photo-style cover-cropping. */
.split__media--book {
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem;
}
.split__media--book img {
  width: auto; height: auto;
  max-width: min(62%, 300px); max-height: 100%;
  object-fit: contain;
  box-shadow: 0 18px 40px rgba(15,35,58,0.22);
  border-radius: 3px;
  filter: none; /* covers are graphic art - no photo grade */
}
.split__media--book::after { content: none; } /* no navy wash on the cover */

/* Founder portrait: cover-crop biased toward the upper third so the
   head stays framed at every panel ratio. */
.split__media--portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
}
