/* Websites by West — Ryan West, Plano TX
   Layout: a friendly local studio. Cool paper, navy ink, one confident blue; the map pin (red) appears only
   where it means "your business on the map". Signature: the hero's local search card where a business climbs to #1. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2-variations"), url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --paper: #F6F8FB;
  --surface: #FFFFFF;
  --ink: #12203A;
  --muted: #536079;
  --rule: #D9E1EC;
  --sky: #E2EDFA;
  --accent: #1E5CD3;
  --accent-ink: #FFFFFF;
  --accent-soft: #E6EEFC;
  --pin: #E0474C;
  --ok: #1B7A4B;
  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;
  --s-1: .875rem; --s0: 1.0625rem; --s1: 1.3rem; --s2: 1.75rem; --s3: clamp(2rem, 4vw, 2.6rem); --s4: clamp(2.5rem, 6vw, 4rem);
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0D1424; --surface: #141E33; --ink: #E7EDF7; --muted: #9AA8C0; --rule: #25324B; --sky: #18284A; --accent: #7FA7FF; --accent-ink: #0B1428; --accent-soft: #1B2B4F; --pin: #FF6B70; --ok: #5CC892; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #0D1424; --surface: #141E33; --ink: #E7EDF7; --muted: #9AA8C0; --rule: #25324B; --sky: #18284A; --accent: #7FA7FF; --accent-ink: #0B1428; --accent-soft: #1B2B4F; --pin: #FF6B70; --ok: #5CC892; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--s0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--s4); font-weight: 750; }
h2 { font-size: var(--s3); font-weight: 700; }
h3 { font-size: var(--s1); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.25rem; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn:hover { filter: brightness(1.07); }
.btn.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--rule); }
.btn.secondary:hover { box-shadow: inset 0 0 0 2px var(--ink); filter: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--surface); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font-family: var(--display); font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1; }
.brand small { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; margin-top: 3px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding-block: .5rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { color: var(--accent-ink); padding-inline: 1.1rem; min-height: 44px; }
.menu-toggle { display: none; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--rule); background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--rule); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 1rem; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: var(--s1); color: var(--muted); margin-top: 1.25rem; max-width: 36ch; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero .meet { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.hero .meet img { width: 44px; height: 44px; border-radius: 50%; }
.hero .meet b { color: var(--ink); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.stage { position: relative; max-width: 30rem; width: 100%; justify-self: center; padding-bottom: 5.5rem; }
.portrait { background: #F1EEEE; border-radius: 28px; overflow: hidden; aspect-ratio: 1; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Local search card (signature) */
.serp { position: absolute; left: -2.5rem; right: 3rem; bottom: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(18, 32, 58, .35); padding: .9rem .9rem .5rem; }
.serp .q { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--rule); border-radius: 999px; padding: .45rem .8rem; font-size: .9rem; color: var(--muted); }
.serp .q svg { width: 16px; height: 16px; flex: none; }
.serp ol { list-style: none; margin: .5rem 0 0; padding: 0; position: relative; height: calc(3 * 2.9rem); }
.serp li { position: absolute; left: 0; right: 0; height: 2.9rem; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: center; gap: .55rem; border-top: 1px solid var(--rule); font-size: .92rem; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.serp li:first-child { border-top-color: transparent; }
.serp .rank { font-family: var(--display); font-weight: 700; color: var(--muted); text-align: center; }
.serp .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp .sub { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.serp .tag { font-size: .78rem; font-weight: 600; color: var(--muted); }
.serp li.you { background: var(--accent-soft); border-radius: 10px; border-top-color: transparent; padding-inline: .2rem; margin-inline: -.2rem; }
.serp li.you .rank { color: var(--pin); }
.serp li.you .rank svg { width: 18px; height: 22px; display: block; margin: auto; }
.serp li.you .tag { color: var(--accent); }
.serp li[data-pos="0"] { transform: translateY(0); }
.serp li[data-pos="1"] { transform: translateY(2.9rem); }
.serp li[data-pos="2"] { transform: translateY(5.8rem); }
@media (prefers-reduced-motion: reduce) { .serp li { transition: none; } }
@media (max-width: 520px) { .serp { left: -.5rem; right: -.5rem; } .stage { padding-bottom: 6.5rem; } }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.tint { background: var(--surface); border-block: 1px solid var(--rule); }
.section-head { max-width: 46rem; display: grid; gap: .75rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: var(--s1); line-height: 1.45; }

.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
@media (max-width: 860px) { .offer { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.offer > div { display: grid; gap: .6rem; align-content: start; }
.offer svg { width: 44px; height: 44px; color: var(--accent); }
.offer p { color: var(--muted); }
.offer a.more { font-weight: 600; text-decoration: none; }
.offer a.more:hover { text-decoration: underline; }

/* Weight comparison */
.weigh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .weigh { grid-template-columns: minmax(0, 1fr); } }
.bars { display: grid; gap: 1.25rem; }
.bars .row { display: grid; gap: .4rem; }
.bars .label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .95rem; }
.bars .label span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.bars .track { height: 18px; background: var(--paper); border-radius: 4px; overflow: hidden; border: 1px solid var(--rule); }
.bars .fill { height: 100%; background: var(--muted); border-radius: 3px; }
.bars .row.mine .fill { background: var(--accent); min-width: 6px; }
.bars .note { font-size: var(--s-1); color: var(--muted); }

/* Steps (a real sequence) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; display: grid; gap: .4rem; align-content: start; }
.steps li::before { content: counter(s); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 1.5rem; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .8rem; }
.plan.featured { border: 2px solid var(--accent); }
.plan .kind { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan.featured .kind { color: var(--accent); }
.plan .price { font-family: var(--display); font-size: 2.3rem; font-weight: 750; line-height: 1; letter-spacing: -0.02em; }
.plan .price small.from { display: block; margin-bottom: .3rem; }
.plan .price small { font-family: var(--body); font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: .25rem 0 0; display: grid; gap: .5rem; font-size: .97rem; align-content: start; }
.plan li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .5rem; }
.plan li::before { content: ""; width: .55rem; height: .3rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translate(1px, 6px); }
.plan .btn { width: 100%; }
.plan p.fit { color: var(--muted); font-size: .97rem; }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem 2rem; }
.cities a { font-family: var(--display); font-size: var(--s2); font-weight: 700; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: .45rem; }
.cities a svg { width: 16px; height: 20px; color: var(--pin); }
.cities a:hover { color: var(--accent); }
.cities p { color: var(--muted); font-size: .95rem; margin-top: .2rem; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .6rem; top: 1.45rem; width: .6rem; height: .6rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details > div { padding: 0 0 1.2rem; color: var(--muted); display: grid; gap: .7rem; }

/* Interior pages */
.page-head { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3rem); background: var(--surface); border-bottom: 1px solid var(--rule); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; padding: 0; font-size: var(--s-1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--muted); display: inline-block; padding-block: .35rem; }
.page-head .lead { font-size: var(--s1); color: var(--muted); margin-top: 1rem; max-width: 44ch; line-height: 1.45; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 66ch; display: grid; gap: 1.1rem; min-width: 0; }
.prose h2 { font-size: var(--s2); margin-top: 1.5rem; }
.prose h3 { margin-top: .5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--accent); }
.prose .callout { background: var(--accent-soft); border-radius: 14px; padding: 1.1rem 1.25rem; }
.prose .faq { margin-top: .25rem; }

.side { position: sticky; top: 6rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 1.5rem; display: grid; gap: 1rem; }
@media (max-width: 920px) { .side { position: static; } }
.side .who { display: flex; gap: .8rem; align-items: center; }
.side .who img { width: 56px; height: 56px; border-radius: 50%; }
.side .who b { display: block; }
.side .who span { color: var(--muted); font-size: .92rem; }
.side .price { font-family: var(--display); font-size: 2rem; font-weight: 750; line-height: 1; }
.side .price small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .95rem; }
.side li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .5rem; }
.side li::before { content: ""; width: .55rem; height: .3rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translate(1px, 6px); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); font-size: .95rem; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }

/* Work */
.work { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .work { grid-template-columns: minmax(0, 1fr); } }
.shots { position: relative; padding-right: 12%; padding-bottom: 8%; }
.shots .desk { border-radius: 12px; border: 1px solid var(--rule); box-shadow: 0 20px 50px -25px rgba(18,32,58,.45); overflow: hidden; }
.shots .phone { position: absolute; right: 0; bottom: 0; width: 28%; border-radius: 18px; border: 4px solid var(--ink); overflow: hidden; box-shadow: 0 16px 40px -18px rgba(18,32,58,.5); background: var(--ink); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem 1.25rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Forms */
.form { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; min-width: 0; }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.form label.f { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; min-width: 0; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: .7rem .8rem; width: 100%; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form textarea { min-height: 7rem; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.form legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: .5rem; }
.form .checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.form .checks label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .35rem .9rem; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; font-size: .95rem; background: var(--paper); }
.form .checks label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form .checks input { width: auto; min-height: 0; accent-color: var(--accent); margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { font-size: var(--s-1); color: var(--muted); }
.form .status { border-radius: 10px; padding: .9rem 1rem; font-weight: 600; }
.form .status.ok { background: var(--accent-soft); color: var(--ink); }
.form .status.err { background: color-mix(in srgb, var(--pin) 14%, transparent); color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.cta-grid .about-me { display: grid; gap: 1rem; }
.cta-grid .about-me img { width: 120px; height: 120px; border-radius: 50%; }
.cta-grid .about-me p { color: var(--muted); font-size: var(--s1); line-height: 1.45; }
.contact-lines { display: grid; gap: .3rem; font-size: 1.05rem; }
.contact-lines a { font-weight: 600; text-decoration: none; }

/* About */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .about-hero { grid-template-columns: minmax(0, 1fr); } .about-hero .portrait { max-width: 20rem; } }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--rule); padding-block: 3rem 2rem; font-size: .95rem; color: var(--muted); }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot .cols { grid-template-columns: minmax(0, 1fr); } }
.foot h3 { font-size: 1rem; color: var(--ink); margin-bottom: .6rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: .3rem; }
.foot a:hover { color: var(--accent); }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1.25rem; font-size: var(--s-1); }
