/* Stonebridge Monument Co. — fictional MonumentKit demonstration site */
:root {
  --granite: #1d2124;
  --granite-2: #2a2f33;
  --stone: #f3eee7;
  --stone-2: #e7dfd4;
  --paper: #fbf9f6;
  --ink: #1d2124;
  --muted: #5d6366;
  --line: #d9cfc2;
  --bronze: #8f6236;
  --bronze-dark: #6f4a26;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bronze); }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Demo notice */
.demo-bar { background: var(--bronze-dark); color: #fff; font-size: 13px; }
.demo-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; padding: 8px 0; }
.demo-bar a { color: #fff; font-weight: 600; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--stone); color: var(--ink); }
.nav .button { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav .button { margin: 8px 0 0; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 6px; border: 1px solid var(--bronze); background: var(--bronze); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s; }
.button:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.button-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.button-outline { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.button-outline:hover { background: var(--stone); border-color: var(--line); }
.nav .button { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { background: radial-gradient(ellipse at 75% 40%, #3a4045 0%, var(--granite) 60%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 84px 0 92px; }
.hero h1 { color: #fff; }
.hero .lede { color: #c9cdcf; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-figure { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); aspect-ratio: 4 / 3; background: #efe9e0; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(29,33,36,.82); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.hero-facts span { font-size: 13px; color: #aeb3b6; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding: 56px 0 64px; gap: 36px; } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--granite); color: #e8e9ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede { color: #b8bdbf; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; margin-bottom: 18px; color: var(--bronze); }
.card-icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--bronze); padding-top: 20px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 34px; color: var(--bronze); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.section-dark .steps p { color: #b8bdbf; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split-figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #efe9e0; }
.split-figure.crop-toolbar { aspect-ratio: 1020 / 800; }
.split-figure.crop-toolbar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(-45deg); }

.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 0; }
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink); }
.quote footer { font-size: 14px; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--bronze-dark), var(--bronze)); color: #fff; border-radius: 16px; padding: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #f1e6da; }
.cta-band .button { background: #fff; color: var(--bronze-dark) !important; border-color: #fff; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.visit dl { margin: 0; }
.visit dt { font-weight: 600; font-size: 14px; }
.visit dd { margin: 0 0 12px; color: var(--muted); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* Embeds */
.embed-frame { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(29,33,36,.08); }
.embed-frame iframe { display: block; width: 100%; border: 0; }
.embed-placeholder { display: grid; place-items: center; text-align: center; min-height: 360px; padding: 32px; background: repeating-linear-gradient(45deg, var(--stone), var(--stone) 12px, #efe8de 12px, #efe8de 24px); color: var(--muted); }
.embed-placeholder strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.design-page .embed-frame iframe { height: min(860px, calc(100vh - 140px)); min-height: 620px; }

/* Feature tour */
.tour-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tour-nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; }
.tour-nav a:hover { background: rgba(255,255,255,.1); }
.feature { padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.feature:last-of-type { border-bottom: 0; }
.feature-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-bottom: 32px; align-items: end; }
.feature-head p { color: var(--muted); }
.feature-meta { background: var(--stone); border-radius: var(--radius); padding: 20px 22px; font-size: 14px; }
.feature-meta dt { font-weight: 600; }
.feature-meta dd { margin: 0 0 10px; color: var(--muted); }
.feature-meta dd:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .feature-head { grid-template-columns: 1fr; gap: 20px; } }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--granite); color: #fff; padding: 4px 9px; border-radius: 4px; margin-bottom: 14px; }
details.snippet { margin-top: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
details.snippet summary { cursor: pointer; padding: 12px 16px; font-size: 14px; font-weight: 600; }
details.snippet pre { margin: 0; padding: 16px; background: var(--granite); color: #e4e6e7; font-size: 13px; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; word-break: break-all; border-radius: 0 0 8px 8px; }

/* Footer */
.site-footer { background: var(--granite); color: #aeb3b6; font-size: 14px; padding: 64px 0 28px; }
.site-footer .wrap > .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d2d5d7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name small { color: #8d9396; }
.footer-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 900px) { .site-footer .wrap > .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap > .cols { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: var(--granite); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); }
.page-hero .lede { color: #c2c7c9; }
