/* Presentation polish: larger reading type, clear rhythm, restrained motion. */
html {
  font-size: 112.5%;
}
body {
  line-height: 1.75;
}
h1 {
  line-height: 1.1;
}
h2 {
  line-height: 1.2;
}
h3 {
  line-height: 1.35;
}
.hero-content > p:not(.eyebrow) {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  max-width: 38rem;
}
.section-heading {
  max-width: 42rem;
}
.section-heading > p:last-child {
  line-height: 1.8;
}
.feature p,
.person > p:last-child,
.footer-grid p {
  font-size: 1rem;
  line-height: 1.8;
}
.site-header nav a,
.button,
.text-link,
.work-filters button,
.source-link {
  font-size: 1rem;
}
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.13em;
}
.person .role,
.work-card p,
.filter-status,
.form-status,
.demo-note,
.price-card .period,
.footer-bottom,
.footer-grid a:not(.brand) {
  font-size: 0.95rem;
}
.work-card h3 {
  font-size: 1.1rem;
}
.hero-content .hero-note {
  font-size: 0.95rem !important;
  line-height: 1.7;
}
.testimonial-copy > p:not(.eyebrow),
.testimonial-copy small {
  font-size: 0.95rem;
  line-height: 1.7;
}
.project-number {
  font-size: 0.85rem;
}
.preview-hint,
.theme-toggle {
  font-size: 0.9rem;
}
.hero {
  position: relative;
  isolation: isolate;
}
.hero-highlight {
  color: var(--hero-accent, currentColor);
}
.project-credit {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  max-width: 100%;
  margin-bottom: 2rem;
  padding: 0.6rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
}
.project-credit > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.project-credit:hover {
  text-decoration: underline;
}
.hero-content {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.hero-content .eyebrow {
  margin-bottom: 1.2rem;
}
.feature {
  border-radius: 10px;
}
.work-card {
  border-radius: 8px;
}
.work-preview {
  overflow: hidden;
}
.work-card img {
  transition:
    transform 0.4s ease,
    filter 0.3s ease;
}
.button span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.button:hover span {
  transform: translateX(4px);
}
.button {
  border-radius: 6px;
}
.theme-toggle,
.menu-toggle {
  min-height: 48px;
}
.site-header nav a[aria-current="location"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 8;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-text);
  transform: scaleX(0);
  transform-origin: left;
}
.project-notes {
  border-top: 1px solid var(--edge);
}
.project-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 2rem 3rem;
}
.project-intro > p {
  max-width: 38rem;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding-block: 1.5rem;
  border-block: 1px solid var(--edge);
}
.project-facts dt {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.project-facts dd {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.process-grid article {
  padding: clamp(1.1rem, 2vw, 1.75rem);
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--panel);
}
.step-number {
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1.5rem;
}
.process-grid h3 {
  margin-bottom: 1rem;
}
.process-grid p {
  font-size: 1rem;
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
}
.project-faq {
  margin-top: 3rem;
  max-width: 48rem;
}
.project-faq > h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.project-faq details {
  border-bottom: 1px solid var(--edge);
}
.project-faq summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.15rem 0.3rem;
  line-height: 1.6;
}
.project-faq summary::marker {
  color: var(--accent-text);
}
.project-faq summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.project-faq details p {
  padding: 0.1rem 0.3rem 1.4rem;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .work-preview:hover img {
    transform: scale(1.035);
  }
  .price-card,
  .process-grid article {
    transition:
      transform 0.25s ease,
      border-color 0.25s ease;
  }
  .price-card:hover,
  .process-grid article:hover {
    transform: translateY(-4px);
    border-color: var(--accent-text);
  }
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 0.9rem;
  }
  .site-header {
    gap: 0.8rem;
  }
}
@media (max-width: 960px) {
  .project-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
  }
  .site-header .brand { grid-area: 1 / 1; margin: 0; }
  .site-header .theme-toggle { grid-area: 1 / 2; margin: 0; }
  .site-header .menu-toggle { grid-area: 1 / 3; }
  .site-header nav { grid-column: 1 / -1; }
  .project-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .project-links {
    flex-direction: column;
    align-items: stretch;
  }
  .project-links .text-link {
    justify-content: center;
  }
  .project-credit {
    border-radius: 12px;
  }
}
@media (max-width: 360px) {
  .site-header .brand { grid-column: 1 / -1; }
  .site-header .theme-toggle { grid-row: 2; }
  .site-header .menu-toggle { grid-row: 2; }
  .site-header .brand {
    flex-basis: 100%;
  }
  .theme-toggle {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button:hover span,
  .work-preview:hover img,
  .price-card:hover,
  .process-grid article:hover {
    transform: none;
  }
}
.hero {
  --hero-accent: #ffadb5;
}
.feature {
  padding: 1.4rem 1rem;
  background: var(--panel);
  border: 1px solid var(--edge);
}
