/* sethshoultes.com page-specific styles (hero, consulting, tools, apps, chat). Kit components live in vendor/site-kit. */
/* hero */
.hero { padding: 9rem 0 4rem; background: radial-gradient(60% 50% at 80% 0%, rgba(255, 107, 44, 0.14), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero .lead { margin-top: 1.5rem; }
.hero-photo { width: 100%; max-width: 420px; justify-self: end; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); }
@media (max-width: 860px) {
  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 280px; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; padding: 2rem 0 0; }
.stat { border-top: 1px solid var(--border); padding-top: 1rem; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.95rem; }

.band .btn { margin-top: 1.5rem; }
#build { padding: 4rem 0; }
/* illustrations */
.art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 1.5rem; }
.art-banner { aspect-ratio: 3 / 1; }
.card-img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 0.5rem; }
#next-art, .meetup-art { max-height: 300px; aspect-ratio: 16 / 5; }
.card-img { aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 640px) { .card-img { aspect-ratio: 4 / 1; } }

/* hero photo: full-bleed on desktop with the headline over the dark left side */
.hero { position: relative; overflow: hidden; padding: 8rem 0 5rem; min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.75) 35%, rgba(11,13,16,0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(11,13,16,0) 22%); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid { grid-template-columns: minmax(0, 620px); }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 64px 0 3rem; }
  .hero-bg { position: relative; display: block; height: 360px; object-position: 76% 0%; }
  .hero::after { inset: 64px 0 auto 0; height: 360px; background: linear-gradient(0deg, var(--bg) 0%, rgba(11,13,16,0) 35%); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 1.5rem; }
}

/* about photos */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.about-photos { display: grid; gap: 1.25rem; justify-items: start; }
.about-photos figure { margin: 0; }
.about-photos img { display: block; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.about-photos figure:first-child img { width: 240px; max-width: 100%; }
.about-photos figure:last-child img { width: 300px; max-width: 100%; }
.about-photos figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.byline { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); margin-top: 1.25rem; font-weight: 500; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-photos { grid-template-columns: 1fr 1fr; align-items: start; }
  .about-photos img { width: 100% !important; }
}

/* designer fixes: hero text column and stats scrim, phone fold, about photos */
.hero-grid { grid-template-columns: minmax(0, min(620px, 52%)); }
.hero .lead { max-width: 520px; }
.hero::after { background: linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.75) 35%, rgba(11,13,16,0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(11,13,16,0.85) 14%, rgba(11,13,16,0) 34%); }
.stat span { color: #c2c7ce; }
.about-grid { align-items: center; }
.about-photos { grid-template-columns: 1fr; }
.about-photos figure:first-child img, .about-photos figure:last-child img { width: 260px; }
.about-photos figure:first-child img { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg { height: 300px; }
  .hero::after { height: 300px; }
  .hero .lead { margin-top: 1rem; }
  .hero-grid { padding-top: 1rem; }
  .about-photos { grid-template-columns: 1fr 1fr; align-items: end; }
  .about-photos figure:first-child img { aspect-ratio: 900 / 1054; }
}
.page-head .byline { margin-top: 0.75rem; }
@media (min-width: 861px) and (max-width: 1180px) { .hero .lead { max-width: 440px; } }

/* consulting page on the site layout */
.consulting { padding-top: 8rem; padding-bottom: 3rem; }
.consulting section { padding: 0; margin-top: 4.5rem; }
.consulting h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0.5rem 0 1rem; }
.consulting h2 { margin-bottom: 0.75rem; }
.consulting .btn-row { margin-top: 1.5rem; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.proof div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.proof strong { display: block; margin-bottom: 0.25rem; }
.proof p { color: var(--muted); font-size: 0.95rem; }
.plans, .once { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan .tag { position: absolute; top: 0; left: 1.5rem; transform: translateY(-50%); background: var(--accent); color: #0b0d10; padding: 0.15rem 0.7rem; border-radius: 999px; letter-spacing: 0.06em; }
.plan .for { color: var(--muted); font-size: 0.95rem; margin: 0.25rem 0 1rem; }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 1.25rem 0 1.5rem; flex: 1; }
.once .plan ul { flex: 0; }
.plan li { padding-left: 1.6rem; position: relative; margin-bottom: 0.55rem; font-size: 0.95rem; color: var(--muted); }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; text-align: center; }
.table-wrap { overflow-x: auto; }
.consulting table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--border); font-size: 0.95rem; }
.consulting th, .consulting td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); text-align: center; }
.consulting th:first-child, .consulting td:first-child { text-align: left; }
.consulting thead th { background: var(--surface-2); font-weight: 600; }
.consulting tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { #compare { display: none; } }

/* forms (consulting, talk) */
.consulting form, .contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; margin-top: 1.5rem; max-width: 680px; display: grid; gap: 1rem; }
.consulting form label, .contact-form label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 0.35rem; }
.consulting input, .consulting select, .consulting textarea, .contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 0.7rem 0.9rem; border: 1px solid #4a515c; border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.consulting textarea, .contact-form textarea { min-height: 140px; resize: vertical; }
.consulting form .btn, .contact-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.consulting form .btn:disabled, .contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { font-size: 0.95rem; min-height: 1.4em; }
#form-status.ok { color: #7ee2b8; }
#form-status.err { color: #ffb4a0; }
.thanks { padding-top: 8rem; padding-bottom: 5rem; }
.thanks > * { max-width: 680px; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-top: 0.5rem; }
.talk { padding-top: 8rem; padding-bottom: 3rem; } .talk h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-top: 0.5rem; }

.small-note { color: var(--muted); font-size: 0.9rem; margin-top: 1.5rem; }
.small-note a { text-decoration: underline; text-underline-offset: 3px; }
.consulting form { max-width: none; }
.consulting form .btn, .contact-form .btn { margin-bottom: 0; }
.consulting form, .contact-form { padding-bottom: 1.25rem; }
#form-status:empty { display: none; }
.plan.featured { padding: calc(1.75rem - 1px) calc(1.5rem - 1px); }

/* Service pages */
.service-hero { padding: 8rem 0 2rem; }
.service-hero h1 { text-wrap: balance; font-size: clamp(2rem, 4.8vw, 3.6rem); max-width: 20em; margin-bottom: 1.25rem; }
.service-sec-thin { padding: 2.25rem 0; }
.service-sec { padding: 3.5rem 0; }
.service-sec h2 { margin-bottom: 1rem; }
.service ul:not(.link-grid):not(.feature-grid) { padding-left: 1.2rem; color: var(--muted); }
.service ul:not(.link-grid):not(.feature-grid), .hub ul:not(.link-grid):not(.photo-credits) { margin: 0 0 1.5rem; padding-left: 1.2rem; color: var(--muted); }
.service ul:not(.link-grid):not(.feature-grid) li, .hub ul:not(.link-grid):not(.photo-credits) li { margin-bottom: 0.4rem; }
.hub h2 { margin-top: 2.5rem; }
.hub .lead { margin-top: 1rem; }
.hub .prose { margin-top: 2.5rem; }
.hub .hub-note { margin-top: 1.5rem; }
.service-sec p + p, .service-sec ul + p { margin-top: 1rem; }

.books { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0.25rem 2rem; margin-top: 1.5rem; }
.books li { padding: 0.8rem 0; border-top: 1px solid var(--border); display: grid; gap: 0.1rem; }
.bk-title { font-weight: 600; }
.bk-author { color: var(--muted); font-size: 0.92rem; }

.shelf { border-top: 1px solid var(--border); padding: 0.4rem 0; }
.shelf:last-child { border-bottom: 1px solid var(--border); }
.shelf summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 0.8rem 0; list-style: none; display: flex; align-items: center; gap: 0.6rem; }
.shelf summary::-webkit-details-marker { display: none; }
.shelf summary::after { content: "+"; margin-left: auto; color: var(--accent); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.shelf[open] summary::after { content: "\2212"; }
.shelf .count { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.shelf .books { margin-top: 0; padding-bottom: 0.75rem; }
.shelf .books li { border-top: 0; padding: 0.45rem 0; }

.shelves { max-width: 980px; }
.shelf .books { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 2rem; align-items: start; }
.shelf .books li { align-content: start; gap: 0.15rem; }
.shelf summary { scroll-margin-top: 80px; }
.shelf summary:hover { color: var(--accent); }

/* Free tools */
.tool-box { padding: 1rem 0 2rem; }
.tool-form { max-width: none; grid-template-columns: minmax(0, 1fr); }
.tool-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.tool-fieldset { min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: 1rem; display: grid; gap: 0.75rem; }
.tool-fieldset legend { font-weight: 600; font-size: 0.95rem; padding: 0 0.4rem; }
.tool-hours { display: grid; gap: 0.5rem; }
.tool-hours-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.tool-hours-row span { color: var(--muted); font-size: 0.95rem; }
.tool-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tool-result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; }
.tool-result-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.tool-result-head h2 { margin: 0; font-size: 1.5rem; }
.tool-result .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.tool-result .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.tool-status { color: #7ee2b8; font-size: 0.95rem; min-height: 1.4em; margin-top: 0.75rem; }
.tool-code { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; overflow-x: auto; max-height: 28rem; font-size: 0.85rem; line-height: 1.5; }
.tool-notes h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.tool-notes ul { padding-left: 1.2rem; color: var(--muted); }
@media (max-width: 640px) { .tool-hours-row { grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; } }
.tool-rows { display: grid; gap: 1rem; }
.tool-row { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto; gap: 0.75rem; align-items: end; }
.tool-row label { font-size: 0.85rem; }
.tool-row .tool-link { padding-bottom: 0.7rem; }
.tool-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: 0.95rem; }
.tool-table th, .tool-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); text-align: right; }
.tool-table th:first-child, .tool-table td:first-child { text-align: left; }
@media (max-width: 760px) { .tool-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); } .tool-row label:first-child { grid-column: 1 / -1; } .tool-row .tool-link { grid-column: 1 / -1; justify-self: start; padding-bottom: 0; } }
.tool-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tool-tabs button { font: inherit; font-weight: 600; background: var(--bg); color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }
.tool-tabs button[aria-selected="true"] { color: #0b0d10; background: var(--accent); border-color: var(--accent); }
.tool-panel { color: var(--muted); }
.tool-panel strong { color: var(--text); }
.tool-panel[hidden] { display: none; }

.tool-form .btn:disabled { opacity: 0.6; cursor: wait; }
.tool-status-err { color: #ffb4a0; }
.tool-checks { list-style: none; display: grid; gap: 0.75rem; margin-top: 1rem; }
.tool-check { background: var(--bg); border: 1px solid var(--border); border-left-width: 4px; border-radius: 10px; padding: 0.9rem 1rem; }
.tool-check p { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; overflow-wrap: anywhere; }
.tool-check-ok { border-left-color: #7ee2b8; }
.tool-check-warn { border-left-color: #f2c14e; }
.tool-check-bad, .tool-check-block { border-left-color: #ff7a59; }
.tool-check-unknown { border-left-color: #6b7280; }
.tool-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 0.6rem; }
.tool-cp { margin-top: 1.25rem; font-weight: 600; }



/* Spacing utilities (replace inline styles). !important keeps the precedence the inline styles had. */
.mt-05 { margin-top: 0.5rem !important; }
.mt-075 { margin-top: 0.75rem !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-15 { margin-top: 1.5rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-25 { margin-top: 2.5rem !important; }
.pt-1 { padding-top: 1rem !important; }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important; }
/* Apps page */
.apps-bundle { margin: 1.5rem 0 0; max-width: 680px; }
.apps-bundle .tag { white-space: normal; }
.apps-bundle h2 { margin: 0.5rem 0 0.25rem; font-size: 1.8rem; }
.apps-includes { list-style: none; margin: 1.25rem 0; padding: 0; }
.apps-includes li { padding-left: 0; margin-bottom: 0.6rem; }
.apps-includes li::before { content: none; }
.apps-bundle .btn { width: auto; }
.apps-status { display: inline-block; min-width: 6.2rem; margin-right: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tool-actions { margin-top: 0; }

/* chat */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.msg { padding: 0.8rem 1rem; border-radius: 14px; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; }
.msg.me { background: var(--accent); color: #0b0d10; align-self: flex-end; font-weight: 500; }
.chips[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.chip { font: inherit; font-size: 0.9rem; background: transparent; color: var(--text); border: 1px solid #4a515c; border-radius: 999px; padding: 0.65rem 1rem; cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--text); }
.chat-form { display: flex; gap: 0.5rem; }
.chat-form input { flex: 1; min-width: 0; font: inherit; padding: 0.8rem 1rem; border-radius: 999px; border: 1px solid #4a515c; background: var(--surface); color: var(--text); }
.chat-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.chat-form .btn:disabled { opacity: 0.5; cursor: wait; }
.small-note { color: var(--muted); font-size: 0.85rem; margin-top: 0.75rem; }

/* readiness check */
.stack { display: grid; gap: 1.1rem; }
.stack label { display: grid; gap: 0.4rem; font-weight: 600; }
.stack label .opt { display: inline; }
.stack input, .stack select, .stack textarea { font: inherit; font-weight: 400; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid #4a515c; background: var(--surface); color: var(--text); width: 100%; }
.stack .opt { color: var(--muted); font-weight: 400; }
.stack .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.stack .btn:disabled { opacity: 0.6; cursor: wait; }
.rc-error { margin-top: 1.25rem; color: #ffb4a0; border-left: 3px solid #ff7a5c; padding: 0.5rem 0 0.5rem 0.9rem; }
.rc-error[hidden], .rc-result[hidden] { display: none; }
.rc-result { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.rc-score { font-size: clamp(4rem, 12vw, 5.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 0.5rem 0 0.25rem; color: var(--accent); }
.rc-score small { font-size: 1.4rem; color: var(--muted); font-weight: 500; margin-left: 0.2rem; letter-spacing: 0; }
.rc-level { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.rc-h { margin-top: 1.75rem; }
.rc-opps { margin: 1rem 0 1.5rem 1.25rem; color: var(--muted); }
.rc-opps li { margin-bottom: 1.1rem; }
.rc-opps li span { display: block; }
.rc-opps strong { color: var(--text); }

.site-footer a { white-space: nowrap; }
.tool-sublist { margin: 0.6rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: 0.92rem; }
.tool-sublist li { margin-bottom: 0.3rem; }


/* card sections under service and city pages */
.service-more, .city-more { padding-bottom: 2rem; }
.service-more h2, .city-more h2 { margin-top: 3rem; }

/* service hero badge (Housecall Pro Superpro) */
.hero-badge { justify-self: center; line-height: 0; }
.hero-badge img { display: block; width: 220px; height: 220px; border-radius: 50%; }
@media (max-width: 860px) { .hero-badge { justify-self: start; } .hero-badge img { width: 160px; height: 160px; } }

/* homepage: why I do this */
.why-quote { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; max-width: 880px; margin: 0 0 1.25rem; }
#why { padding: 3.5rem 0; }

/* post hero image above the title (outside .post-content) */
.post > .post-img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 0 2rem; border-radius: 6px; }

/* post: speed table and chart (blog/i-moved-my-wordpress-site-four-ways) */
.post-content .hint { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.3rem; }
@media (min-width: 720px) { .post-content .hint { display: none; } }
.post-content .table-wrap table { border-collapse: collapse; min-width: 40rem; }
.post-content .table-wrap th, .post-content .table-wrap td { white-space: nowrap; padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--border); text-align: left; }
.post-content .table-wrap th:first-child, .post-content .table-wrap td:first-child { position: sticky; left: 0; background: var(--bg); }
.post-content figure.chart { margin: 1.5rem 0; max-width: 30rem; }
.post-content figure.chart figcaption { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.6rem; }
.post-content figure.chart svg { width: 100%; height: auto; display: block; }
