/* ==========================================================================
   Ancient Landmark Web Co. - studio website
   Brand tokens come from Logo/Read ME files/brand-colors.css
   ========================================================================== */
:root {
  --charcoal: #20272B;      /* brand: text, dark sections, primary buttons */
  --gold: #A8742A;          /* brand: accents, rules, large text only (3.5:1 on ivory) */
  --gold-deep: #8A5E1F;     /* derived: gold for small text & links (4.9:1 on ivory) */
  --ivory: #F3EEE4;         /* brand: warm section backgrounds */
  --white: #FFFFFF;
  --ink-soft: #4E575C;      /* body copy on light backgrounds */
  --line: #DDD5C7;
  --ivory-on-dark: #D9D2C4; /* secondary text on charcoal */

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 2px;
  --max: 1140px;
  --gutter: clamp(16px, 4vw, 36px);
  --focus: 3px solid #1A73E8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--charcoal); scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--charcoal); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; margin: 0 0 .55em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 64ch; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--charcoal); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 8px; }
.label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.rule { width: 72px; height: 3px; background: var(--gold); border: 0; margin: 0 0 26px; }
.confirm { background: #FFF1C2; color: #5A4500; padding: 0 5px; font-weight: 600; font-size: .9em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { margin-right: auto; display: block; line-height: 0; }
.brand img { width: 176px; height: auto; }
.nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); padding: 9px 14px; font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--charcoal); cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding: 6px var(--gutter) 18px; }
.site-nav a { display: block; padding: 13px 0; color: var(--charcoal); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-header .header-cta { display: none; }
.site-header .header-phone { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-align: center; font: inherit; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 16px 26px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--charcoal); color: var(--white); }
.btn-primary:hover { background: #10151A; color: var(--white); }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #BD8634; color: var(--charcoal); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--ivory); padding-block: clamp(52px, 9vw, 110px); position: relative; overflow: hidden; }
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 54ch; }
.hero-mark { display: none; }
.trust { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px 26px; grid-template-columns: 1fr 1fr; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.trust li { position: relative; padding-left: 20px; }
.trust li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.ivory { background: var(--ivory); }
.section.dark { background: var(--charcoal); color: var(--white); }
.section.dark p { color: var(--ivory-on-dark); }
.section.dark .label { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 28px 26px; }
.section.ivory .card { background: var(--white); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.card .price { font-family: var(--font-display); font-size: 1.6rem; margin: 6px 0 12px; }
.card .price small { font-family: var(--font-body); font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .95rem; }
.card li { margin-bottom: 6px; }
.card.featured { border: 2px solid var(--charcoal); border-top: 6px solid var(--gold); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 1.15rem; margin-bottom: .25em; }
.steps p { color: var(--ivory-on-dark); margin: 0; font-size: 1rem; }

.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.towns li { border: 1px solid var(--line); background: var(--white); padding: 7px 14px; font-size: .88rem; font-weight: 500; }
.fine { font-size: .85rem; color: var(--ink-soft); }

.verse { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.45; max-width: 34ch; margin: 0 0 12px; color: var(--charcoal); }
.verse-ref { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.embed { border: 1px dashed var(--line); background: var(--white); padding: 28px; text-align: center; color: var(--ink-soft); }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: inherit; padding: 13px; border: 1px solid #8D949A; border-radius: var(--radius); background: #fff; color: var(--charcoal); }
.form textarea { min-height: 130px; }
.form .hp { display: none; }
.form-status { font-weight: 600; min-height: 1.6em; margin: 0; }
.form-status.is-error { color: #A12A1E; }
.form-status.is-success { color: #1E5E37; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory-on-dark); padding-block: 56px 110px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.site-footer .footer-logo { width: 220px; margin-bottom: 20px; }
.site-footer .grid { gap: 30px; }
.site-footer h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-verse { font-family: var(--font-display); font-style: italic; color: var(--ivory-on-dark); border-top: 1px solid #3A4449; margin-top: 36px; padding-top: 22px; }
.credit { font-size: .8rem; color: #9DA5A9; margin-top: 12px; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.action-bar a { padding: 15px 8px; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--charcoal); }
.action-bar a.primary { background: var(--charcoal); color: var(--white); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(4, auto); justify-content: start; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 48px; }
}
@media (min-width: 960px) {
  .brand img { width: 208px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; border: 0; }
  .site-nav ul { display: flex; gap: 28px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .site-header .header-cta { display: inline-block; padding: 12px 18px; font-size: .78rem; }
  .site-header .header-phone { display: inline-block; font-weight: 600; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
  .site-header .header-phone:hover { color: var(--gold-deep); }
  .checks { columns: 1; }
  .hero .container { grid-template-columns: 1.35fr .65fr; }
  .hero-mark { display: block; justify-self: end; width: min(100%, 300px); opacity: 1; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .site-footer { padding-bottom: 56px; }
  .action-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Micro note under the hero buttons ---------- */
.micro { font-size: .92rem; color: var(--ink-soft, #5A6266); margin-top: 14px; max-width: 52ch; }

/* ---------- Standard checklist ---------- */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 7px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--gold-deep); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold-deep); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft, #5A6266); }

/* ---------- Founder portrait ---------- */
.portrait { margin: 0 0 22px; max-width: 460px; }
.portrait img { width: 100%; height: auto; border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.portrait figcaption { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: 8px; }
