/* ==========================================================================
   Seguin Sites: inner pages (services, trades, places, work, blog, faq)
   Loads after site.css and reuses its tokens, header, footer, buttons, .qa and form styles.
   ========================================================================== */

.page-hero { position: relative; padding-top: calc(72px + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(2.5rem, 5vw, 4.25rem); overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, oklch(0.45 0.043 246.5 / 0.14) 1px, transparent 0); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000 20%, transparent 75%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 1.1rem; font-size: clamp(2.4rem, 1.35rem + 4.4vw, 4.6rem); line-height: 1; letter-spacing: -0.037em; max-width: 19ch; }
.page-hero__sub { margin-top: 1.4rem; max-width: 60ch; color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.55; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 2rem; }
.page-hero__link { font-weight: 700; color: var(--brand-deep); text-underline-offset: 0.25em; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.pills li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.42rem 0.85rem 0.42rem 0.7rem; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--ink-2); }
.pills .icon { width: 1em; height: 1em; color: var(--brand); stroke-width: 2.6; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; font-size: 0.88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.block { padding-block: clamp(2.75rem, 5.5vw, 5rem); }
.block--tint { background: var(--bg-2); }
.block > .container > h2, .block .block__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 22ch; }
.block__lede { margin-top: 1rem; max-width: 62ch; color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.55; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.028em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.15; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { line-height: 1.7; }
.prose a:not(.btn) { color: var(--brand-deep); font-weight: 500; text-underline-offset: 0.2em; }
.prose a:not(.btn):hover { color: var(--deep); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 0.55rem; }
.prose ul li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 2.2rem; counter-increment: n; line-height: 1.6; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.05em; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--brand-wash); color: var(--brand-deep); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.prose li strong { display: inline; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.aside { position: sticky; top: 100px; padding: 1.5rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
.aside p { margin-top: 0.6rem; color: var(--ink-2); font-size: 0.97rem; }
.aside ul { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 0.45rem; }
.aside li { font-size: 0.97rem; color: var(--ink-2); }
.aside a:not(.btn) { color: var(--brand-deep); font-weight: 700; }
.aside .btn { margin-top: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin-top: 2.2rem; }
.card { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.card h3 { font-size: 1.22rem; line-height: 1.15; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 0.97rem; line-height: 1.55; }
.card__more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--brand-deep); font-weight: 700; font-size: 0.92rem; }
.card__more .icon { width: 1em; height: 1em; stroke-width: 2.2; transition: transform 0.4s var(--ease-out); }
.card:hover .card__more .icon { transform: translateX(3px); }
.card__tag { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); }
.card--soft { background: var(--bg); }

.callout { margin-top: 1.6rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--brand-wash); border: 1px solid oklch(0.88 0.045 240); color: var(--ink); }
.callout p { color: var(--ink); max-width: none; }
.callout strong { color: var(--deep); }


.table-wrap { margin-top: 2rem; overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); }
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.97rem; }
.table-wrap th, .table-wrap td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.table-wrap thead th { background: var(--bg-2); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.table-wrap tbody th { font-weight: 700; color: var(--ink); width: 28%; }
.table-wrap td { color: var(--ink-2); }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap caption { text-align: left; padding: 0.8rem 1rem; font-size: 0.9rem; color: var(--ink-3); caption-side: bottom; }
.yes { color: var(--brand-deep); font-weight: 700; }
.no { color: var(--ink-3); }

.work-shot { margin-top: 2rem; position: relative; max-width: 940px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: var(--white); box-shadow: var(--shadow-md); }
.work-shot__bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0.9rem; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-3); }
.work-shot__bar i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); margin-right: 3px; }
.work-shot__view { position: relative; height: clamp(300px, 46vw, 520px); overflow: hidden; }
.work-shot__view img { width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 2rem; }
.fact { padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.fact dt { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); }
.fact dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }

.faq-page { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 0.2rem; }
.toc p { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 0.5rem; }
.toc a { padding: 0.5rem 0.8rem; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.toc a:hover { background: var(--bg-3); color: var(--ink); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.028em; line-height: 1.08; margin-bottom: 1rem; scroll-margin-top: 96px; }
.faq-group .faq__list { border-top: 1px solid var(--line-2); }
.faq-inline { margin-top: 1.8rem; border-top: 1px solid var(--line-2); }

.mini-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-2); }
.related h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 0; }
.related ul { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related a { display: inline-block; padding: 0.5rem 0.95rem; border-radius: 99px; border: 1px solid var(--line-2); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; transition: border-color 0.3s, color 0.3s; }
.related a:hover { border-color: var(--brand); color: var(--brand-deep); }

.post-meta { margin-top: 1.2rem; color: var(--ink-3); font-size: 0.93rem; }
.answer { margin-top: 2rem; padding: 1.3rem 1.5rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); max-width: 70ch; }
.answer p { color: var(--ink); font-size: 1.1rem; line-height: 1.6; }
.answer b { color: var(--deep); }

.site-footer__grid { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); gap: 2.2rem; }
.site-footer__brand .site-footer__mail { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; color: var(--ink); font-weight: 500; text-decoration: none; }
.site-footer__brand .site-footer__mail:hover { color: var(--brand-deep); }
.site-footer__brand .site-footer__mail .icon { color: var(--brand); }
.site-footer__brand .btn { margin-top: 1rem; }

@media (max-width: 960px) {
  .split, .faq-page { grid-template-columns: minmax(0, 1fr); }
  .aside, .toc { position: static; }
  .toc { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
  .toc p { width: 100%; margin-bottom: 0.1rem; }
  .toc a { border: 1px solid var(--line-2); background: var(--white); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .table-wrap table { min-width: 560px; }
}

.photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.aside--photo { padding: 0.9rem 0.9rem 1.5rem; }
.aside--photo > h3, .aside--photo > p, .aside--photo > ul, .aside--photo > .btn { margin-inline: 0.6rem; }
.aside--photo > .btn { display: flex; width: calc(100% - 1.2rem); }
.prose .proof { margin-top: 1.2rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }


/* --------------------------------------------------------------------------
   Glass pass for inner pages
   -------------------------------------------------------------------------- */
.page-hero { isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -12rem; top: -10rem; width: 44rem; height: 44rem; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, oklch(0.84 0.11 58 / 0.4), oklch(0.9 0.07 62 / 0.14) 55%, transparent); }
.page-hero::before { z-index: -1; }
.page-hero h1 { color: var(--ink); }
.pills li { background: linear-gradient(180deg, oklch(1 0 0 / 0.78), oklch(1 0 0 / 0.5)); border: 1px solid var(--glass-edge); box-shadow: 0 1px 0 var(--glass-edge) inset, 0 8px 18px -12px oklch(0.2 0.06 248 / 0.3); }
.pills .icon { color: var(--accent-text); }
.block--tint { background: linear-gradient(180deg, oklch(0.962 0.012 236 / 0.7), oklch(0.975 0.008 236 / 0.4)); }
.card, .aside, .fact, .answer, .callout, .table-wrap, .work-shot {
  background: linear-gradient(158deg, oklch(1 0 0 / 0.82), oklch(1 0 0 / 0.5));
  border: 1px solid var(--glass-edge);
  
  box-shadow: var(--shadow-glass);
}
.card { overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), oklch(0.86 0.07 238 / 0.32), oklch(0.9 0.06 62 / 0.14) 45%, transparent 70%); transition: opacity 0.5s var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass), 0 28px 44px -28px oklch(0.2 0.06 248 / 0.4); border-color: var(--glass-edge); }
.card:hover::before { opacity: 1; }
.card__more { color: var(--brand-deep); }
.card--soft { background: linear-gradient(158deg, oklch(1 0 0 / 0.55), oklch(1 0 0 / 0.3)); }
.callout { background: linear-gradient(158deg, oklch(0.96 0.03 238 / 0.85), oklch(0.98 0.02 62 / 0.6)); }
.table-wrap thead th { background: oklch(0.962 0.012 236 / 0.8); }
.related a { background: linear-gradient(180deg, oklch(1 0 0 / 0.78), oklch(1 0 0 / 0.5)); border: 1px solid var(--glass-edge); box-shadow: 0 1px 0 var(--glass-edge) inset; }
.related a:hover { transform: translateY(-2px); }
.toc a:hover { background: oklch(0.3 0.06 247 / 0.07); }
