/* Readability, responsive composition and accessible interaction refinements. */
:root { --muted:#b6c0bb; --small:14px; --body:16px; --subheading:22px; --heading:38px; }
body { font-size:var(--body); text-align:start; }
body :is(.mono,.brand small,.tech-strip>div,.browser-bar,.holding-art small,.energy-caption small,.knowledge-en) { font-family:var(--font); font-size:var(--small); letter-spacing:0; }
p { max-width:65ch; }
:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
html { scroll-behavior:auto; }
@media(prefers-reduced-motion:no-preference) { html { scroll-behavior:smooth; } }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.hero h1 { font-size:clamp(60px,6vw,86px); line-height:1.4; letter-spacing:-.035em; margin-top:0; }
.hero-description { font-size:var(--body); line-height:1.9; max-width:42ch; color:var(--text); margin-top:28px; }
.hero-footnote,.bento-note-top,.bento-note>span:last-child,.studio-photo figcaption,.brand small,.header nav,.text-link,.button,.work-meta p,.work-tag,.work-note,.footer>p,.back-top,.footer-bottom,.footer-bottom .mono { font-size:var(--small); }
.hero-footnote { line-height:1.9; }
.header nav a,.back-top { display:inline-flex; align-items:center; min-height:44px; }
.button,.button.primary,.button.secondary,.icon-button,.filter-group button.active,.screenshot-frame img,.process-grid li,.knowledge-tabs button[aria-selected=true],.status-dot,.contact-circle { box-shadow:none; background-image:none; }
.button { background-color:#2b3433; border:0; }
.button.primary { background-color:var(--accent); }
.button:hover,.button:active,.button.primary:hover { box-shadow:none; }
.icon-button,.work-meta .icon-button,.close-dialog { width:44px; height:44px; min-width:44px; min-height:44px; }
.header,.tech-strip,.browser-bar,.service-bottom,.services-section,.insights-section,.summary-type,.estimate-summary dl,.recurring-row,.faq-list details,.footer-bottom { border:0; }
.tech-strip>div { flex-wrap:wrap; }
.tech-separator { color:var(--muted); }
.tech-strip,.strip-end { font-size:var(--small); }
.filter-group button { font-size:var(--small); background-image:none; border:0; }
.filter-group button.active { background-color:#2d3930; }
.filter-group button>span { font-size:var(--small); background:none; }
.bento-note,.work-card,.work-preview,.contact-surface,.surface { border:0; }
.bento-note-top { gap:10px; }
.bento-note strong { font-size:var(--subheading); }
.studio-photo figcaption { display:block; }
.section h2,.faq-section h2,.contact-surface h2 { font-size:var(--heading); line-height:1.6; margin-top:0; }
.section-heading>p { font-size:var(--body); line-height:1.9; color:var(--muted); max-width:38ch; }
.work-meta { display:grid; grid-template-columns:1fr auto; gap:3px 12px; align-items:center; }
.work-meta>div { grid-column:1; }
.work-meta h3 { font-size:var(--subheading); }
.work-tag { display:block; grid-column:1; margin:0; padding:0; border:0; color:var(--muted); }
.work-meta .icon-button { grid-column:2; grid-row:1/span 2; }
.work-live,.work-shots { margin-inline:8px; margin-block-start:10px; gap:8px; min-height:44px; color:var(--accent); }
.work-shots { padding:0; border:0; background:none; cursor:pointer; }
.work-live:hover,.work-shots:hover { color:var(--text); }
.work-live svg,.work-shots svg { width:17px; height:17px; }
.project-screens { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.project-screens figure { margin:0; }
.project-screens a { display:block; border-radius:9px; }
.project-screens img { display:block; width:100%; height:auto; border-radius:inherit; }
.project-screens figcaption { padding-block-start:6px; color:var(--muted); font-size:var(--small); }
#project-url[hidden] { display:none; }
@media (max-width:560px) {
  .project-screens { grid-template-columns:minmax(0,1fr); }
}
.portfolio-frame { padding:0; background:#202628; }
.portfolio-frame img { height:100%; object-fit:cover; object-position:right top; border-radius:0; }
.work-note { align-items:baseline; }
.browser-bar { font-size:var(--small); min-height:42px; gap:8px; }
.browser-bar>span:nth-child(2) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.browser-bar .browser-dots { font-size:var(--small); color:var(--muted); letter-spacing:0; white-space:nowrap; }
.holding-art strong,.energy-caption strong { font-size:var(--subheading); }
.holding-art>div>span,.energy-caption span { font-size:var(--small); color:#d0d7d3; }
.solar-array { box-shadow:none; }
.service-grid { display:grid; grid-template-columns:1fr; gap:36px; }
.service-card { display:grid; grid-template-columns:1fr 1.5fr auto; gap:30px; align-items:start; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.service-card:hover { transform:none; }
.service-card h3 { font-size:var(--subheading); margin:0; }
.service-card>p { font-size:var(--body); min-height:0; color:var(--text); line-height:1.9; }
.service-bottom { display:flex; flex-direction:column; align-items:flex-end; gap:12px; padding:0; margin:0; }
.service-bottom>span { font-size:var(--small); color:var(--muted); max-width:22ch; }
.process-grid { padding:0; margin:0; list-style:none; }
.process-grid::before { display:none; }
.process-grid li { padding:26px; background:var(--surface); border-radius:20px; }
.process-grid h3 { font-size:var(--subheading); }
.process-grid p { font-size:var(--body); color:var(--text); line-height:1.9; }
.builder legend,.range-label,.select-label { font-size:var(--body); }
.question-number { background:none; border:0; font-size:var(--small); }
.site-types label>span { border-width:2px; box-shadow:none; }
.site-types input:checked+span { box-shadow:none; }
.site-types b,.site-types small,.range-label output,.range-ends,.field-hint,.feature-options b,.feature-options small,.reset-builder { font-size:var(--small); }
.site-types input:focus-visible+span { outline-width:3px; }
select,input[type=text],textarea,#brief-name { font-size:var(--body); box-shadow:none; border:2px solid #718675; }
input[type=range] { height:32px; }
.feature-options input { width:22px; height:22px; border-width:2px; box-shadow:none; }
.summary-top,.summary-top .mono,.estimate-summary>p:first-of-type,.estimate-summary dl,.price-area>span,.price-area p,.recurring-row,.hosting-note,.estimate-summary .button,.summary-privacy { font-size:var(--small); color:#d1dfc6; }
.estimate-summary .button.primary { color:#172211; }
.estimate-summary h3,.summary-type { font-size:var(--subheading); }
.price-area strong { font-size:var(--heading); }
.knowledge-tabs button { grid-template-columns:1fr auto; gap:4px 12px; }
.knowledge-tabs b { font-size:var(--body); }
.knowledge-tabs small { font-size:var(--small); grid-column:1; }
.knowledge-tabs svg { grid-column:2; grid-row:1/span 2; }
.knowledge-panel h3 { font-size:var(--subheading); }
.knowledge-panel>p { font-size:var(--body); color:var(--text); line-height:1.9; }
.knowledge-panel li,.knowledge-example { font-size:var(--small); }
.knowledge-en { text-transform:none; }
.faq-list { display:grid; gap:12px; }
.faq-list details { padding-inline:22px; background:var(--surface); border-radius:14px; }
.faq-list summary,.faq-list details p { font-size:var(--body); color:var(--text); line-height:1.9; }
.contact-surface::after { display:none; }
.contact-surface p { font-size:var(--body); color:var(--text); }
.contact-circle,.dialog-tags span,dialog .dialog-note,#brief-form p,.toast { font-size:var(--small); }
.footer-bottom { flex-wrap:wrap; }
dialog { background:var(--surface); border:0; }
dialog::backdrop { backdrop-filter:none; }
dialog h2 { font-size:var(--subheading); }
dialog>p,#brief-form label { font-size:var(--body); }
.no-script-note { padding:24px; background:var(--surface); margin-block:24px; border-radius:12px; }
.surface,.energy-sun,.knowledge-tabs button { box-shadow:none; }
.builder fieldset { border:0; }
.knowledge-tabs button,.estimate-summary .button.secondary { border:0; }
.summary-top,.price-area>span { font-size:var(--body); }
.process-section .section-heading .text-link,.recurring-row span,.recurring-row b { font-size:var(--small); }
.contact-circle { background-color:var(--accent); color:#172211; }
.price-area strong { margin-top:12px; }
.brand small,.browser-bar,.holding-art small,.energy-caption small,.footer-bottom .mono { font-size:var(--small); font-family:var(--font); letter-spacing:0; }
@keyframes content-enter { from { opacity:.82; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes photo-enter { from { opacity:.85; transform:scale(1.025); } to { opacity:1; transform:scale(1); } }
@media(prefers-reduced-motion:no-preference) {
  .content-enter { animation:content-enter 600ms cubic-bezier(.2,.7,.3,1); }
  .photo-enter { animation:photo-enter 650ms cubic-bezier(.2,.7,.3,1); }
}
@media(max-width:1100px) {
  .hero h1 { font-size:60px; }
  .service-card { grid-template-columns:1fr 1.5fr; gap:20px 30px; }
  .service-bottom { grid-column:2; flex-direction:row; justify-content:space-between; align-items:center; }
}
@media(max-width:900px) {
  .hero h1 { font-size:46px; }
  .bento-note strong { font-size:var(--body); }
  .section-heading { align-items:flex-start; flex-direction:column; gap:18px; }
  .section-heading>p { max-width:60ch; }
  .site-types { grid-template-columns:1fr; }
  .site-types label>span { flex-direction:row; justify-content:flex-start; gap:12px; padding:12px; }
  .site-types small { display:none; }
  .price-area strong { font-size:var(--subheading); }
}
@media(max-width:700px) {
  :root { --heading:28px; }
  .hero h1 { font-size:clamp(44px,12vw,58px); line-height:1.4; margin-top:0; }
  .hero-description,.section-heading>p { font-size:var(--body); }
  .hero-footnote,.bento-note-top,.bento-note-top .mono,.bento-note>span:last-child,.hero-actions .button,.hero-actions .text-link,.header .nav-cta { font-size:var(--small); }
  .header { gap:14px; }
  .header .nav-cta { gap:8px; }
  .header .nav-cta svg { display:none; }
  .menu-button { display:none; }
  .js .menu-button { display:inline-flex; width:44px; height:44px; }
  html:not(.js) .header { height:auto; flex-wrap:wrap; padding-block:18px; }
  html:not(.js) .header nav { position:static; order:4; display:flex; width:100%; flex-direction:row; flex-wrap:wrap; box-shadow:none; }
  .bento-note strong { font-size:var(--subheading); }
  .studio-photo figcaption { font-size:var(--small); }
  .tech-strip>div { gap:8px; flex-wrap:wrap; font-size:var(--small); }
  .service-card { display:block; }
  .service-card h3 { margin-bottom:14px; }
  .service-bottom { flex-direction:row; align-items:center; margin-top:16px; }
  .process-grid { grid-template-columns:1fr; gap:16px; }
  .site-types { grid-template-columns:1fr; }
  .site-types small { display:block; margin-right:auto; }
  .feature-options b,.feature-options small,.site-types b,.knowledge-tabs b,.knowledge-tabs small { font-size:var(--small); }
  .knowledge-panel h3 { font-size:var(--subheading); }
  .price-area strong { font-size:var(--heading); }
  .contact-surface { flex-direction:column; align-items:flex-start; gap:26px; }
  .contact-surface p { max-width:100%; }
  .contact-circle { width:90px; height:90px; }
}
@media(max-width:370px) {
  .header { gap:9px; }
  .brand>span { font-size:var(--body); }
  .hero h1 { font-size:44px; }
  .hero-footnote,.bento-note-top .mono,.bento-note>span:last-child,.footer-bottom .mono { font-size:var(--small); }
  .bento-note strong { font-size:var(--body); }
  .tech-separator { display:none; }
  .tech-strip>div { justify-content:flex-start; }
  .knowledge-tabs { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
