/* Living Design Company mockup: warm, calm, large type for older readers. */
:root {
  --ink: #1f2a33; --slate: #4a5866; --navy: #2b3a47; --gold: #c39a4e; --gold-deep: #8a6420;
  --cream: #fbf8f2; --stone: #f2ede3; --paper: #ffffff; --line: rgba(43,58,71,0.16); --dark: #232c35;
  --serif: "Fraunces", Georgia, serif; --sans: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 19px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.15; margin: 0 0 0.6em; }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; }
abbr { text-decoration: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.8rem 1.2rem; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.mt-2 { margin-top: 1.6rem; }
.lc { text-transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,242,0.97); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0.7rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); }
.brand-logo { height: 62px; width: auto; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 0.4rem 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; margin-left: auto; font: 600 18px var(--sans); background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 10px; padding: 0.55rem 1rem; min-height: 48px; }
.header-cta { white-space: nowrap; }

/* Wordmark (same type as Molly's header logo) */
.ldc-mark { display: flex; flex-direction: column; align-items: stretch; gap: 0.18rem; width: max-content; margin: 0 0 1rem; line-height: 1; color: var(--navy); }
.ldc-mark em { font-family: "Fraunces", serif; font-style: italic; font-weight: 400; font-size: 2.6rem; letter-spacing: 0.01em; line-height: 0.9; margin-left: -0.05em; font-synthesis: none; font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144; }
.ldc-mark span { font-family: "Figtree", sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; text-align: justify; text-align-last: justify; }
.brand-mark { margin: 0; }
.brand-mark em { font-size: 2.3rem; }
.ldc-center { margin: 0 auto 1rem; }
.ldc-logo-center { height: 110px; width: auto; margin: 0 auto 0.8rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0.85rem 1.7rem; border-radius: 12px; font: 700 18px var(--sans); letter-spacing: 0.02em; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; }
.btn-book { background: var(--navy); color: #fff; }
.btn-book:hover { background: var(--dark); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--stone); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.center-row { justify-content: center; }
.btn-full { width: 100%; margin-top: 1.4rem; }

/* Hero */
.page-hero { position: relative; min-height: 640px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(25,32,40,0.45), rgba(25,32,40,0.6)); }
.page-hero-copy { position: relative; padding: 4rem 1.5rem; max-width: 900px; }
.ldc-logo-hero { box-sizing: content-box; height: 118px; width: auto; padding: 26px 30px 30px; margin: 0 auto 1.2rem; background: #fbf8f2; border-radius: 50%; aspect-ratio: auto; box-shadow: 0 6px 24px rgba(0,0,0,0.28); }
.page-hero .ldc-mark { color: #fff; margin: 0 auto 1.5rem; gap: 0.3rem; }
.page-hero .ldc-mark em { font-size: 4.6rem; }
.page-hero .ldc-mark span { font-size: 1.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.5vw, 4.4rem); text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.page-hero .btn-row { justify-content: center; }
.page-hero .btn-book { background: #fff; color: var(--navy); border-color: #fff; font-size: 20px; }

/* Inner page heading */
.page-head { background: var(--stone); padding: 4.5rem 0 3.5rem; border-bottom: 4px solid var(--gold); }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); max-width: 22ch; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-paper { background: var(--paper); }
.section-stone { background: var(--stone); }
.section-cream { background: var(--cream); }
.eyebrow { font: 700 17px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.7rem; }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.lede { font-size: 20px; line-height: 1.7; }
.aip-h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4rem; }
.process-step { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; padding: 1.8rem; }
.section-paper .process-step { background: var(--cream); }
.process-step p { font-size: 18.5px; }
.process-num { font: 500 2.6rem var(--serif); color: var(--gold-deep); line-height: 1; margin-bottom: 0.6rem; }
a.journey-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.journey-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.journey-icon { width: 46px; height: 46px; color: var(--slate); margin-bottom: 0.9rem; }
.journey-cue { margin-top: auto; padding-top: 0.8rem; font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.cred-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.3rem 0 0; padding: 0; }
.cred-chip { padding: 0.45rem 1rem; border: 2px solid var(--slate); border-radius: 999px; font-weight: 700; font-size: 18px; color: var(--navy); }
.cred-chip.is-secondary { border-style: dashed; font-weight: 600; }
.svc-card { display: flex; flex-direction: column; scroll-margin-top: 110px; }
.svc-best { font-size: 18.5px; }
.aip-gain { display: flex; gap: 0.75rem; align-items: flex-start; background: var(--stone); border-radius: 10px; padding: 1rem; margin: 0.6rem 0 1.4rem; }
.aip-gain p { margin: 0; }
.gain-check { flex-shrink: 0; color: var(--gold-deep); width: 26px; height: 26px; }
.svc-btn { margin-top: auto; align-self: flex-start; }

/* Why Molly (dark) */
.aip-dark { background: var(--dark) !important; color: #f5f2ec; }
.aip-dark h2 { color: #fff; font-size: clamp(3rem, 6vw, 4.4rem); }
.aip-dark .eyebrow { color: var(--gold); }
.aip-dark .why-head { text-align: center; margin: 0 auto 2rem; }
.why-value { font: 400 clamp(1.5rem, 2.6vw, 2rem) var(--serif); color: #fff; }
.why-photo { display: block; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 2rem; border: 3px solid var(--gold); }
.why-photo img, img.why-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.aip-dark .lede { color: #f5f2ec; font-family: var(--serif); font-size: 22px; }
.why-signoff { font: italic 400 2.4rem var(--serif); color: var(--gold); }
.aip-dark .btn { background: #fff; color: var(--dark); border-color: #fff; }

/* FAQ */
.aip-faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.aip-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 21px; color: var(--navy); }
.aip-faq summary::-webkit-details-marker { display: none; }
.aip-faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--gold-deep); }
.aip-faq details[open] summary::after { content: "\2212"; }
.aip-faq details p { margin: 0.8rem 0 0; font-size: 19px; }

/* Closing card */
.path { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(2rem, 4vw, 3rem); }
.path h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ldc-email { margin-top: 1.2rem; font-size: 20px; }

/* Contact */
.contact-split { align-items: start; }
.contact-big { font: 500 clamp(1.6rem, 3vw, 2.1rem) var(--serif); margin: 0 0 0.6rem; }
.guide-card { background: var(--stone); }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; }
.contact-form label { display: block; font-weight: 700; font-size: 18px; margin: 1rem 0 0.35rem; }
.contact-form .opt { font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; font: 19px var(--sans); padding: 0.8rem 0.9rem; min-height: 54px; border: 2px solid #8a929c; border-radius: 10px; background: #fff; color: var(--ink); }
.form-note { margin-top: 1rem; font-size: 17px; color: var(--slate); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--dark); color: #ece8e0; padding: 4rem 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer .ldc-mark { color: #fff; }
.footer-h { font: 700 17px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer-links a { display: inline-block; margin: 0 1rem 0.5rem 0; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 16px; color: #d4cfc6; }

/* Responsive */
@media (max-width: 1100px) {
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 0.5rem 1.5rem 1rem; }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .split, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .brand-logo { height: 50px; }
  .brand-mark em { font-size: 1.9rem; }
  .page-hero { min-height: 560px; }
  .page-hero .ldc-mark em { font-size: 3.3rem; }
  .page-hero .ldc-mark span { font-size: 1.1rem; }
  .ldc-logo-hero { height: 88px; padding: 20px 23px 23px; }
  .lede { font-size: 19px; }
  .btn { width: 100%; }
  .svc-btn { align-self: stretch; }
  .process-step { padding: 1.4rem; }
}

/* Roofline logo (logo-roofline branch) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.roof-logo { display: block; height: auto; }
.roof-header { width: 92px; }
.roof-footer { width: 130px; }
.roof-hero { width: 300px; margin: 0 auto 1.8rem; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45)); }
.roof-center { width: 180px; margin: 0 auto 1.2rem; }
.page-hero-media::after { background: linear-gradient(rgba(25,32,40,0.52), rgba(25,32,40,0.66)); }
@media (max-width: 600px) { .roof-header { width: 74px; } .roof-hero { width: 220px; } }

/* Hero logo in solid white square */
.roof-hero.roof-hero-square { box-sizing: content-box; width: 240px; padding: 40px; background: #fff; border-radius: 0; filter: none; box-shadow: none; outline: none; }
@media (max-width: 600px) { .roof-hero.roof-hero-square { width: 180px; padding: 30px; } }
