:root {
  /* "CW rose" palette: refined from the dusty rose and blue-grey of the old site.
     The old taupe-brown text is replaced with a deep plum-ink for readability. */
  --bg: #fbf8f7;        /* page background: warm white */
  --tint: #f4ecec;      /* alternate sections: rose mist */
  --tint-blue: #e9eef2; /* testimonials: blue mist */
  --ink: #2b2730;       /* body text */
  --muted: #625a5f;     /* secondary text */
  --brand: #8a5a5e;     /* buttons, links: dusty rose (darkened for readability) */
  --brand-2: #74494d;   /* button hover */
  --rose: #c9a2a5;      /* decorative lines */
  --slate: #4a5763;     /* results band, CTA */
  --dark: #22262c;      /* footer */
  --line: #eadfdf;
  --radius: 16px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Lato', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .55em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3, .h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.small { font-size: .85rem; color: var(--muted); }
.strong { font-weight: 700; }
.lead { font-size: 1.15rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: 1rem; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: .5rem; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand); color: #fff; text-decoration: none; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid var(--brand); transition: background .2s, color .2s; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--tint); color: var(--brand-2); }
.btn-light { background: #fff; color: var(--slate); border-color: #fff; }
.btn-light:hover { background: var(--tint); border-color: var(--tint); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.text-link { color: var(--brand); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,247,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; line-height: 1.1; }
.brand span { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--brand); }
.brand img { max-height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font: 700 .9rem var(--sans); color: var(--ink); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .75rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
}

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lead { max-width: 620px; color: var(--muted); }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { max-width: 260px; } }

/* Results */
.results { background: var(--slate); color: #fff; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.small-results .results-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.result { padding: 1.8rem 1.2rem; text-align: center; border-left: 1px solid rgba(255,255,255,.15); }
.result:first-child { border-left: 0; }
.result strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: .35rem; color: #f4dfe0; }
.result span { font-size: .88rem; opacity: .92; }
.small-results { margin-top: 2.5rem; }
@media (max-width: 820px) { .results-grid { grid-template-columns: repeat(2, 1fr); } .result:nth-child(3) { border-left: 0; } .result { border-top: 1px solid rgba(255,255,255,.15); } .result:nth-child(-n+2) { border-top: 0; } }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.top-0 { padding-top: 1rem; }
.tint { background: var(--tint); }
.tint-blue { background: var(--tint-blue); }
.section-intro { max-width: 680px; color: var(--muted); font-size: 1.08rem; margin-bottom: 2.2rem; }
.page-head { padding: clamp(3rem, 8vw, 5rem) 0 2rem; }
.page-head .lead { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.rounded { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose h2 { margin-top: 1.6em; }
.more-link { margin-top: 2rem; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--rose); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74,87,99,.12); border-top-color: var(--brand); }
.service-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { color: var(--brand); font-weight: 700; font-size: .92rem; }
.more::after { content: ' →'; }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.project-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74,87,99,.14); }
.project-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.project-body { padding: 1.25rem 1.4rem 1.5rem; }
.project-body h3 { margin-bottom: .35rem; }
.project-body p { color: var(--muted); font-size: .97rem; margin-bottom: .8rem; }
.since { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand) !important; margin-bottom: .3rem !important; }
.tags { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { background: var(--tint-blue); color: var(--slate); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 700; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--rose); padding-top: 1.2rem; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; color: var(--brand); line-height: 1; display: block; margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Testimonials */
.quotes { columns: 2 340px; column-gap: 1.5rem; }
.quote { break-inside: avoid; margin: 0 0 1.5rem; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.7rem 1.4rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.04rem; }
.quote blockquote p::before { content: '“'; display: block; font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--rose); margin-bottom: .4rem; }
.quote figcaption { font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* Misc */
.note { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; border-left: 4px solid var(--rose); }
.pill-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-links a, .pill-links.plain li { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1rem; text-decoration: none; font-weight: 700; font-size: .93rem; }
.pill-links a:hover { border-color: var(--brand); color: var(--brand); }
.pill-links.plain li { font-weight: 400; }
.contact-list { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--line); }
.contact-list dt, .contact-list dd { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); padding-right: 2rem; }
.contact-list a { color: var(--brand); font-weight: 700; text-decoration: none; }

/* CTA + footer */
.cta { background: var(--slate); color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; }
.cta .actions { justify-content: center; }
.cta p { color: rgba(255,255,255,.9); }
.site-footer { background: var(--dark); color: #d6d0d2; padding: 3rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; margin-bottom: 2rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: .35rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: .4rem; }
.footer-head { color: var(--rose); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; margin-bottom: .5rem; }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; }
.site-footer .small { color: #a8a1a4; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .result { padding: 1.3rem .7rem; } .result strong { font-size: 1.6rem; } .result span { font-size: .8rem; line-height: 1.45; display: block; } }
