/* Archway Point public site. Colors and type live in the variables below. */
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --ground: #fbf8f3; --tint: #f1eaf7; --card: #ffffff;
  --ink: #1e1330; --muted: #4f465c; --line: #e4dceb; --field: #8d7fa0;
  --purple: #5b2a86; --deep: #2e1248; --deep-2: #3d1a5e; --deep-line: #6a4491; --on-deep: #f4eefa; --on-deep-muted: #d9cde8;
  --accent: #f0a828; --accent-hover: #ffbb45; --error: #a11a1a;
  --display: "Archivo", Arial, sans-serif; --body: "Inter", Arial, sans-serif;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--deep); padding: 12px 18px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center .btn { margin-top: 8px; }

/* Header */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--deep); text-decoration: none; letter-spacing: -0.03em; }
.logo span { color: var(--purple); }
.site-nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-weight: 600; font-size: 1rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--purple); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle { display: none; font: inherit; font-weight: 700; background: none; border: 2px solid var(--deep); color: var(--deep); border-radius: 8px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
@media (max-width: 880px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .js .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { border-top: 1px solid var(--line); }
  .site-nav .btn { margin-top: 10px; text-align: center; }
}
.crumbs { font-size: 0.9rem; padding-top: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--field); }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; border: 0; border-radius: 8px; padding: 14px 22px; min-height: 48px; cursor: pointer; line-height: 1.25; }
.btn-accent { background: var(--accent); color: var(--deep); }
.btn-accent:hover { background: var(--accent-hover); color: var(--deep); }
.btn-light { background: #fff; color: var(--deep); }
.btn-block { width: 100%; text-align: center; }

/* Hero */
.hero { background: var(--deep); color: var(--on-deep); padding: 64px 0 80px; }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }

.eyebrow, .tag { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; color: var(--purple); }
.hero .eyebrow, .band-dark .tag, .door-dark .tag { color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.hero .lede, .band-dark .lede { color: var(--on-deep-muted); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.door { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-radius: var(--radius); padding: 32px; text-decoration: none; }
.door h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.door p { margin: 0; }
.door .btn { margin-top: auto; }
.door .price { margin-bottom: 14px; }
.door-light { background: #fff; color: var(--ink); }
.door-light:hover { color: var(--ink); box-shadow: 0 0 0 4px var(--accent); }
.door-light p:not(.tag):not(.price) { color: var(--muted); }
.door-dark { background: var(--deep-2); color: var(--on-deep); border: 1px solid var(--deep-line); }
.door-dark:hover { color: var(--on-deep); box-shadow: 0 0 0 4px var(--accent); }
.door-dark h2, .door-dark .price { color: #fff; }
.door-dark p:not(.tag):not(.price) { color: var(--on-deep-muted); }
.price { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--deep); margin: 4px 0; line-height: 1.1; }
.price span { font-family: var(--body); font-weight: 600; font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .price span { display: block; margin-top: 4px; } }
.price-sm { font-size: 1.5rem; }
@media (max-width: 820px) { .hero-grid, .doors { grid-template-columns: 1fr; } .hero-art { justify-self: center; max-width: 360px; } .hero { padding: 40px 0 56px; } }

/* Sections */
.band { padding: 76px 0; }
.band-tint { background: var(--tint); }
.band-dark { background: var(--deep); color: var(--on-deep); }
.band-dark h2 { color: #fff; }
.page-hero { padding: 40px 0 72px; }
.page-hero .btn { margin-top: 6px; }
.section-lede { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split .art { justify-self: center; }
.split-center { align-items: center; }
.art-wide { width: 100%; box-shadow: 0 20px 44px rgba(46, 18, 72, 0.16); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head .section-lede { margin: 0; }
.btn-outline { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.btn-outline:hover { background: var(--tint); color: var(--deep); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); color: var(--purple); display: grid; place-items: center; margin-bottom: 14px; }
.band-tint .feature-icon { background: #fff; }
.band-tint .feature .feature-icon { background: var(--tint); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .band { padding: 52px 0; } }
.art { border-radius: var(--radius); }

.trust-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 28px; font-weight: 600; }
.trust-bar li { display: flex; gap: 12px; align-items: center; }
.trust-bar .icon { color: var(--purple); flex: 0 0 26px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.tick { color: var(--purple); flex: 0 0 22px; margin-top: 3px; }
.band-tint .trust-bar { padding: 0; }
.band.band-tint:has(> .wrap > .trust-bar:only-child) { padding: 26px 0; background: #fff; border-bottom: 1px solid var(--line); }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 12px; font-size: 1.1rem; }

.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); position: absolute; top: 20px; right: 24px; font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--line); line-height: 1; }
.steps p, .feature p { color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 26px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .feature-grid.three, .feature-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid.three, .feature-grid.four { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 90px; }
.band-tint .trust-bar:not(:only-child) { margin-top: 36px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 0; }
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.work-card img { width: 100%; border-bottom: 1px solid var(--line); }
.work-shot { display: block; }
.work-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.work-body p { color: var(--muted); }
.work-foot { margin: auto 0 0; padding-top: 8px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 0.88rem; }
.work-body .tag { margin-bottom: 6px; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 24px 0; }
.quote { margin: 0; background: var(--deep); color: #fff; border-radius: var(--radius); padding: 28px; }
.quote blockquote { margin: 0 0 14px; font-size: 1.15rem; }
.quote figcaption { color: var(--on-deep-muted); font-weight: 600; }

.table-scroll { overflow-x: auto; margin-top: 22px; }
.price-table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--deep); color: #fff; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:nth-child(2) { font-family: var(--display); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }

.area-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 0.95rem; }

.faq { margin-top: 22px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; font-size: 1.08rem; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.band-dark .card, .hero .card { color: var(--ink); }
.form { display: grid; gap: 18px; }
.form h3 { margin: 0; font-size: 1.5rem; }
.form > p { margin: 0; color: var(--muted); }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], textarea { font: inherit; width: 100%; padding: 13px 14px; border: 1.5px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); min-height: 48px; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 600; font-size: 0.92rem; }
.form-status { background: #fdeaea; color: var(--error); border-radius: 8px; padding: 12px 14px; font-weight: 600; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { flex: 1 1 130px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 8px; font-weight: 600; cursor: pointer; min-height: 48px; }
.choice:has(input:checked) { border-color: var(--purple); background: var(--tint); }
.choice input { width: 20px; height: 20px; accent-color: var(--purple); margin: 0; }
.consent { font-size: 0.85rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.reach { margin: 18px 0 26px; }
.reach p { margin: 0 0 6px; color: var(--muted); }
.reach-phone { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--deep); text-decoration: none; display: inline-block; padding: 6px 0; }

/* Blog and long text */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.post-list h2 { font-size: 1.5rem; margin-bottom: 4px; }
.post-list a { text-decoration: none; }
.post-list a:hover h2 { text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.founder { margin: 0; }
.founder img { border-radius: var(--radius); }
.founder figcaption { margin-top: 10px; font-weight: 600; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-deep-muted); padding: 56px 0 28px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: 6px; }
.site-footer a { color: var(--on-deep-muted); display: block; padding: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-note { font-size: 0.9rem; margin-top: 10px; }
.footer-base { border-top: 1px solid #3a2d4f; margin-top: 36px; padding-top: 20px; font-size: 0.88rem; }

/* Photos */
.photo { border-radius: var(--radius); width: 100%; object-fit: cover; }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 560px; padding: 0 0 56px 56px; }
.hero-photo { aspect-ratio: 4 / 3; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.hero-phone { position: absolute; left: 0; bottom: 0; width: 52%; height: auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.4)); }
@media (max-width: 820px) { .hero-media { justify-self: center; padding: 0 0 40px 28px; } }
.split .photo.art { aspect-ratio: 4 / 3; box-shadow: 0 20px 44px rgba(46, 18, 72, 0.18); }
.band-dark .photo.art { box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); }
.trade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 980px) { .trade-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trade-grid { grid-template-columns: 1fr; } }
.trade { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trade .photo { border-radius: 0; aspect-ratio: 3 / 2; display: block; }
.trade figcaption { padding: 16px 18px 18px; display: grid; gap: 2px; }
.trade strong { font-family: var(--display); font-size: 1.15rem; }
.trade span { color: var(--muted); font-size: 0.95rem; }
.media-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 860px) { .media-row { grid-template-columns: 1fr; } }
.media-row figure { margin: 0; }
.media-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
.media-row figcaption { margin-top: 10px; color: var(--on-deep-muted); font-weight: 600; }

/* Service area map */
.map-wrap { margin: 0; width: 100%; }
.map { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint); position: relative; z-index: 0; }
.map > img { width: 100%; height: 100%; object-fit: cover; }
.map-wrap figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.band-dark .map-wrap figcaption { color: var(--on-deep-muted); }
.map .leaflet-tooltip { font-family: var(--body); font-weight: 600; font-size: 0.82rem; color: var(--ink); border: 0; box-shadow: 0 2px 8px rgba(30, 19, 48, 0.25); padding: 3px 8px; }
.map .leaflet-container { font-family: var(--body); }
