/*
Theme Name: Returning to Life From Loss
Theme URI: https://returningtolifefromloss.com/
Author: OpenAI for Returning to Life From Loss
Description: A warm, modern, responsive WordPress theme created for Returning to Life From Loss and an independent Certified Grief Recovery Method Specialist. Designed to feel calm, credible, spacious, and action-oriented without copying the Grief Recovery Method corporate website.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: returning-to-life
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --rtl-ink: #183333;
  --rtl-ink-soft: #405858;
  --rtl-cream: #f7f2e9;
  --rtl-paper: #fffdf9;
  --rtl-sage: #78978d;
  --rtl-sage-dark: #466d65;
  --rtl-blue: #5d7f89;
  --rtl-gold: #c69b5d;
  --rtl-line: rgba(24, 51, 51, .14);
  --rtl-shadow: 0 24px 70px rgba(39, 63, 61, .12);
  --rtl-radius: 24px;
  --rtl-serif: Georgia, 'Times New Roman', serif;
  --rtl-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rtl-ink);
  background: var(--rtl-paper);
  font-family: var(--rtl-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .rtl-site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: var(--rtl-sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--rtl-ink); }
button, input, textarea, select { font: inherit; }

.rtl-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.rtl-narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.rtl-section { padding: 96px 0; }
.rtl-section--cream { background: var(--rtl-cream); }
.rtl-section--ink { background: var(--rtl-ink); color: #fff; }
.rtl-eyebrow {
  margin: 0 0 12px;
  color: var(--rtl-sage-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rtl-section--ink .rtl-eyebrow { color: #d9e7e1; }
.rtl-display, h1, h2, h3 { font-family: var(--rtl-serif); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); margin: 0 0 22px; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
p { margin: 0 0 1.2em; }
.rtl-lead { color: var(--rtl-ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.75; }
.rtl-section--ink .rtl-lead { color: rgba(255,255,255,.78); }

.rtl-topbar { background: #122929; color: rgba(255,255,255,.9); font-size: .86rem; }
.rtl-topbar__inner { min-height: 40px; display:flex; align-items:center; justify-content:center; gap:12px; text-align:center; }
.rtl-topbar__dot { width:6px; height:6px; border-radius:50%; background:#d7b57c; display:inline-block; }

.rtl-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,253,249,.92);
  border-bottom: 1px solid rgba(24,51,51,.08);
  backdrop-filter: blur(14px);
}
.rtl-header__inner { min-height: 86px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.rtl-brand { display:flex; align-items:center; gap:12px; color:var(--rtl-ink); text-decoration:none; min-width: 230px; }
.rtl-brand__mark { width:42px; height:42px; border:1px solid var(--rtl-line); border-radius:50%; display:grid; place-items:center; background:var(--rtl-cream); font-family:var(--rtl-serif); font-size:1.35rem; }
.rtl-brand__text { display:flex; flex-direction:column; line-height:1.12; }
.rtl-brand__name { font-family:var(--rtl-serif); font-size:1.2rem; }
.rtl-brand__sub { margin-top:5px; color:var(--rtl-ink-soft); font-size:.7rem; letter-spacing:.09em; text-transform:uppercase; }
.custom-logo-link img { max-height:58px; width:auto; }
.rtl-nav { display:flex; align-items:center; gap:28px; }
.rtl-nav ul { list-style:none; display:flex; align-items:center; gap:28px; margin:0; padding:0; }
.rtl-nav a { color:var(--rtl-ink); text-decoration:none; font-size:.92rem; font-weight:650; }
.rtl-nav a:hover { color:var(--rtl-sage-dark); }
.rtl-header-cta { padding:12px 19px; border-radius:999px; background:var(--rtl-ink); color:#fff !important; }
.rtl-menu-toggle { display:none; border:0; background:transparent; padding:8px; color:var(--rtl-ink); }
.rtl-menu-toggle span { display:block; width:25px; height:2px; background:currentColor; margin:5px 0; }

.rtl-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 35%, rgba(120,151,141,.20), transparent 33%),
    radial-gradient(circle at 98% 82%, rgba(198,155,93,.15), transparent 25%),
    linear-gradient(135deg, #fffdf9 0%, #f7f2e9 70%, #f1ece2 100%);
}
.rtl-hero::before {
  content:"";
  position:absolute;
  width:520px; height:520px;
  border:1px solid rgba(70,109,101,.15);
  border-radius:50%;
  right:-120px; top:-210px;
}
.rtl-hero__inner { min-height: 760px; display:grid; grid-template-columns: 1.08fr .92fr; gap:70px; align-items:center; padding:88px 0 95px; }
.rtl-hero h1 { max-width:780px; margin:0 0 28px; }
.rtl-hero h1 em { font-style:italic; color:var(--rtl-sage-dark); }
.rtl-hero__copy { max-width:690px; }
.rtl-hero__actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.rtl-button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:52px; padding:13px 22px; border:1px solid transparent; border-radius:999px; text-decoration:none; font-size:.94rem; font-weight:750; transition:.2s ease; cursor:pointer; }
.rtl-button:hover { transform:translateY(-1px); }
.rtl-button--primary { background:var(--rtl-ink); color:#fff; box-shadow:0 12px 30px rgba(24,51,51,.16); }
.rtl-button--primary:hover { color:#fff; background:#294646; }
.rtl-button--ghost { border-color:rgba(24,51,51,.2); color:var(--rtl-ink); background:rgba(255,255,255,.45); }
.rtl-button--light { background:#fff; color:var(--rtl-ink); }
.rtl-hero__meta { margin-top:38px; display:flex; flex-wrap:wrap; gap:11px 22px; color:var(--rtl-ink-soft); font-size:.86rem; }
.rtl-hero__meta span::before { content:"✓"; color:var(--rtl-sage-dark); margin-right:8px; font-weight:800; }
.rtl-hero-art { position:relative; min-height:560px; display:grid; place-items:center; }
.rtl-orbit { position:absolute; border-radius:50%; border:1px solid rgba(70,109,101,.18); }
.rtl-orbit--one { width:470px; height:470px; }
.rtl-orbit--two { width:350px; height:350px; border-color:rgba(198,155,93,.22); }
.rtl-heart-shape { width:270px; height:330px; border-radius:150px 150px 120px 120px; background:linear-gradient(145deg,#78978d,#446b64); transform:rotate(8deg); box-shadow:var(--rtl-shadow); opacity:.94; }
.rtl-quote-card { position:absolute; left:5%; bottom:8%; width:min(360px,80%); padding:26px; background:rgba(255,255,255,.92); border:1px solid rgba(24,51,51,.09); border-radius:20px; box-shadow:var(--rtl-shadow); backdrop-filter:blur(8px); }
.rtl-quote-card__mark { font-family:var(--rtl-serif); font-size:3.2rem; line-height:.7; color:var(--rtl-gold); }
.rtl-quote-card p { margin:9px 0 0; font-family:var(--rtl-serif); font-size:1.22rem; line-height:1.45; }

.rtl-trustbar { border-top:1px solid var(--rtl-line); border-bottom:1px solid var(--rtl-line); background:#fff; }
.rtl-trustbar__inner { display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:center; padding:24px 0; }
.rtl-trustbar img { width:95px; max-height:86px; object-fit:contain; }
.rtl-trustbar__text { display:flex; flex-wrap:wrap; align-items:center; gap:9px 26px; }
.rtl-trustbar__title { font-family:var(--rtl-serif); font-size:1.35rem; }
.rtl-trustbar__item { color:var(--rtl-ink-soft); font-size:.88rem; }

.rtl-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.rtl-loss-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:42px; }
.rtl-loss-card { min-height:170px; padding:23px; border:1px solid var(--rtl-line); border-radius:20px; background:rgba(255,255,255,.72); transition:.2s ease; }
.rtl-loss-card:hover { transform:translateY(-3px); box-shadow:0 16px 45px rgba(39,63,61,.08); }
.rtl-loss-card__icon { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--rtl-cream); margin-bottom:22px; font-family:var(--rtl-serif); font-size:1.2rem; }
.rtl-loss-card h3 { margin:0 0 7px; font-size:1.18rem; }
.rtl-loss-card p { margin:0; color:var(--rtl-ink-soft); font-size:.9rem; line-height:1.55; }

.rtl-method-intro { max-width:800px; margin-bottom:46px; }
.rtl-method { display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.rtl-method::before { content:""; position:absolute; left:9%; right:9%; top:27px; height:1px; background:rgba(255,255,255,.22); }
.rtl-step { position:relative; padding:0 18px; }
.rtl-step__number { position:relative; z-index:1; width:55px; height:55px; display:grid; place-items:center; border-radius:50%; margin:0 0 25px; background:#fff; color:var(--rtl-ink); font-family:var(--rtl-serif); font-size:1.2rem; }
.rtl-step h3 { color:#fff; font-size:1.3rem; margin:0 0 10px; }
.rtl-step p { color:rgba(255,255,255,.7); font-size:.9rem; line-height:1.6; margin:0; }

.rtl-about-photo-wrap { position:relative; max-width:520px; margin:auto; }
.rtl-about-photo { width:100%; aspect-ratio:4/4.5; object-fit:cover; object-position:center 15%; border-radius:var(--rtl-radius); box-shadow:var(--rtl-shadow); }
.rtl-about-photo-wrap::after { content:""; position:absolute; width:160px; height:160px; border:1px solid var(--rtl-gold); border-radius:50%; right:-36px; bottom:-42px; z-index:-1; }
.rtl-signature { margin-top:25px; font-family:var(--rtl-serif); font-size:1.25rem; font-style:italic; }
.rtl-story-highlight { margin:24px 0 30px; padding:20px 24px; border-left:3px solid var(--rtl-gold); background:var(--rtl-cream); font-family:var(--rtl-serif); font-size:1.15rem; line-height:1.6; }

.rtl-program-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:42px; }
.rtl-program-card { position:relative; min-height:390px; padding:34px; border:1px solid var(--rtl-line); border-radius:var(--rtl-radius); background:#fff; overflow:hidden; display:flex; flex-direction:column; }
.rtl-program-card--featured { background:var(--rtl-ink); color:#fff; border-color:var(--rtl-ink); }
.rtl-program-card__tag { align-self:flex-start; padding:6px 11px; border-radius:999px; background:var(--rtl-cream); color:var(--rtl-sage-dark); font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.rtl-program-card--featured .rtl-program-card__tag { background:rgba(255,255,255,.12); color:#fff; }
.rtl-program-card h3 { font-size:1.65rem; margin:24px 0 15px; }
.rtl-program-card p { color:var(--rtl-ink-soft); font-size:.95rem; }
.rtl-program-card--featured p { color:rgba(255,255,255,.74); }
.rtl-program-card ul { margin:6px 0 26px; padding:0; list-style:none; }
.rtl-program-card li { margin:9px 0; padding-left:22px; position:relative; font-size:.92rem; }
.rtl-program-card li::before { content:"•"; position:absolute; left:3px; color:var(--rtl-gold); }
.rtl-program-card .rtl-text-link { margin-top:auto; font-weight:750; text-decoration:none; }
.rtl-program-card--featured .rtl-text-link { color:#fff; }

.rtl-consult { display:grid; grid-template-columns:1.15fr .85fr; gap:60px; align-items:center; padding:55px; border-radius:32px; background:linear-gradient(135deg,#e9f0ec,#f7f2e9); border:1px solid var(--rtl-line); }
.rtl-consult h2 { font-size:clamp(2.2rem,4vw,3.8rem); }
.rtl-consult__points { display:grid; gap:13px; }
.rtl-consult__point { display:flex; gap:12px; align-items:flex-start; }
.rtl-consult__point span { flex:0 0 auto; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#fff; font-size:.8rem; font-weight:800; }

.rtl-faq { margin-top:38px; border-top:1px solid var(--rtl-line); }
.rtl-faq details { border-bottom:1px solid var(--rtl-line); padding:0; }
.rtl-faq summary { list-style:none; cursor:pointer; padding:24px 44px 24px 0; font-family:var(--rtl-serif); font-size:1.24rem; position:relative; }
.rtl-faq summary::-webkit-details-marker { display:none; }
.rtl-faq summary::after { content:"+"; position:absolute; right:4px; top:22px; font-family:var(--rtl-sans); font-weight:300; }
.rtl-faq details[open] summary::after { content:"–"; }
.rtl-faq__answer { padding:0 50px 23px 0; color:var(--rtl-ink-soft); }

.rtl-contact-panel { border-radius:30px; padding:58px; background:var(--rtl-ink); color:#fff; }
.rtl-contact-panel h2 { color:#fff; }
.rtl-contact-panel .rtl-lead { color:rgba(255,255,255,.72); }
.rtl-contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; margin-top:35px; }
.rtl-contact-note { color:rgba(255,255,255,.7); font-size:.9rem; }
.rtl-form { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.rtl-form__full { grid-column:1/-1; }
.rtl-form label { display:block; margin:0 0 6px; color:rgba(255,255,255,.8); font-size:.82rem; font-weight:700; }
.rtl-form input, .rtl-form textarea { width:100%; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.08); color:#fff; border-radius:13px; padding:13px 14px; outline:none; }
.rtl-form input:focus, .rtl-form textarea:focus { border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.12); }
.rtl-form textarea { min-height:125px; resize:vertical; }
.rtl-form .rtl-button { border:0; }
.rtl-hp { position:absolute !important; left:-9999px !important; opacity:0 !important; pointer-events:none !important; }
.rtl-form-message { margin:0 0 18px; padding:12px 15px; border-radius:12px; background:rgba(255,255,255,.11); }

.rtl-page-hero { padding:80px 0 60px; background:var(--rtl-cream); border-bottom:1px solid var(--rtl-line); }
.rtl-page-hero h1 { margin:5px 0 18px; font-size:clamp(2.8rem,6vw,5rem); }
.rtl-page-content { padding:74px 0 100px; }
.rtl-page-content .entry-content > * { max-width:780px; margin-left:auto; margin-right:auto; }
.rtl-page-content .entry-content > .alignwide { max-width:1100px; }
.rtl-page-content .entry-content img { border-radius:18px; }
.rtl-page-content blockquote { border-left:3px solid var(--rtl-gold); margin-block:35px; padding:5px 0 5px 24px; color:var(--rtl-ink-soft); font-family:var(--rtl-serif); font-size:1.25rem; }

.rtl-story-section { padding:85px 0; }
.rtl-story-section + .rtl-story-section { border-top:1px solid var(--rtl-line); }
.rtl-story-section h2 { font-size:clamp(2rem,3.8vw,3.4rem); }
.rtl-story-section p { color:var(--rtl-ink-soft); }
.rtl-callout { padding:35px; background:var(--rtl-cream); border-radius:24px; }

.rtl-site-footer { background:#102626; color:rgba(255,255,255,.75); padding:65px 0 28px; }
.rtl-footer-grid { display:grid; grid-template-columns:1.5fr .8fr .8fr; gap:55px; }
.rtl-footer-title { color:#fff; font-family:var(--rtl-serif); font-size:1.55rem; margin-bottom:12px; }
.rtl-site-footer a { color:rgba(255,255,255,.86); text-decoration:none; }
.rtl-site-footer a:hover { color:#fff; }
.rtl-footer-links { list-style:none; margin:0; padding:0; }
.rtl-footer-links li { margin:8px 0; }
.rtl-footer-bottom { margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:25px; font-size:.78rem; }
.rtl-footer-bottom p { margin:0; }

.rtl-screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.rtl-screen-reader-text:focus { position:fixed; width:auto; height:auto; top:8px; left:8px; z-index:10000; background:#fff; color:#000; padding:12px; clip:auto; }

@media (max-width: 1050px) {
  .rtl-hero__inner { grid-template-columns:1fr 1fr; gap:35px; }
  .rtl-loss-grid { grid-template-columns:repeat(2,1fr); }
  .rtl-method { grid-template-columns:1fr; gap:24px; }
  .rtl-method::before { display:none; }
  .rtl-step { display:grid; grid-template-columns:60px 1fr; column-gap:20px; padding:0; }
  .rtl-step__number { grid-row:1/3; }
  .rtl-program-grid { grid-template-columns:1fr 1fr; }
  .rtl-program-card:last-child { grid-column:1/-1; min-height:auto; }
}

@media (max-width: 820px) {
  body.admin-bar .rtl-site-header { top:46px; }
  .rtl-section { padding:72px 0; }
  .rtl-menu-toggle { display:block; }
  .rtl-nav { display:none; position:absolute; left:0; right:0; top:100%; background:#fff; border-bottom:1px solid var(--rtl-line); padding:22px 20px 28px; }
  .rtl-nav.is-open { display:block; }
  .rtl-nav ul { flex-direction:column; align-items:stretch; gap:0; }
  .rtl-nav li { border-bottom:1px solid var(--rtl-line); }
  .rtl-nav a { display:block; padding:13px 0; }
  .rtl-header-cta { margin-top:14px; text-align:center; padding:13px 18px !important; }
  .rtl-hero__inner { min-height:auto; grid-template-columns:1fr; padding:70px 0; }
  .rtl-hero-art { min-height:430px; }
  .rtl-heart-shape { width:220px; height:275px; }
  .rtl-orbit--one { width:380px; height:380px; }
  .rtl-orbit--two { width:290px; height:290px; }
  .rtl-grid-2, .rtl-consult, .rtl-contact-grid, .rtl-footer-grid { grid-template-columns:1fr; }
  .rtl-grid-2 { gap:45px; }
  .rtl-consult { padding:38px; gap:30px; }
  .rtl-program-grid { grid-template-columns:1fr; }
  .rtl-program-card:last-child { grid-column:auto; }
  .rtl-trustbar__inner { grid-template-columns:1fr; text-align:center; }
  .rtl-trustbar img { margin:auto; }
  .rtl-trustbar__text { justify-content:center; }
  .rtl-contact-grid { gap:30px; }
}

@media (max-width: 560px) {
  .rtl-container, .rtl-narrow { width:min(100% - 28px, 1180px); }
  .rtl-topbar__inner { padding:8px 0; line-height:1.35; }
  .rtl-header__inner { min-height:76px; }
  .rtl-brand__sub { display:none; }
  .rtl-brand__name { font-size:1rem; }
  .rtl-brand { min-width:0; }
  .rtl-hero h1 { font-size:clamp(2.75rem,14vw,4.4rem); }
  .rtl-hero__actions .rtl-button { width:100%; }
  .rtl-hero-art { min-height:370px; }
  .rtl-orbit--one { width:310px; height:310px; }
  .rtl-orbit--two { width:245px; height:245px; }
  .rtl-heart-shape { width:190px; height:235px; }
  .rtl-quote-card { left:0; bottom:0; width:90%; }
  .rtl-loss-grid { grid-template-columns:1fr; }
  .rtl-program-card { min-height:auto; }
  .rtl-contact-panel { padding:34px 24px; border-radius:24px; }
  .rtl-form { grid-template-columns:1fr; }
  .rtl-form__full { grid-column:auto; }
  .rtl-footer-bottom { flex-direction:column; }
}
