/* Editorial audit: preserve the original palette, make decisions easier to read. */
html { scroll-padding-top: 104px; }
[hidden] { display: none !important; }
.hero { align-items: flex-end; padding: 160px 0 clamp(64px, 12svh, 112px); }
.hero__layout { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(40px, 6vw, 80px); }
.hero__content { max-width: 560px; }
.hero h1 { max-width: 560px; margin: 0 0 20px; font-size: clamp(50px, 5vw, 70px); line-height: .98; letter-spacing: -.025em; }
.hero h1 span { display: block; }
.hero .lead { max-width: 550px; margin-bottom: 28px; font-size: 18px; line-height: 1.5; }
.hero .eyebrow { padding: 0; border: 0; background: none; backdrop-filter: none; color: #ffc167; font-size: 14px; }
.hero__actions { gap: 14px 20px; }
.hero__note { flex-basis: 100%; max-width: 520px; font-size: 14px; line-height: 1.5; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 48px; text-decoration: underline; text-underline-offset: 5px; }
.hero-projects__head { flex-wrap: wrap; gap: 12px 16px; margin-bottom: 16px; }
.hero-projects__head h2 { flex: 0 0 auto; white-space: nowrap; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; }
.hero-arrows { flex-shrink: 0; gap: 8px; margin-left: auto; }
.hero-arrow { width: 44px; height: 44px; flex-shrink: 0; }
.hero-case { flex-basis: 100%; min-width: 0; min-height: 138px; grid-template-columns: 120px minmax(0, 1fr); padding: 12px 16px 12px 12px; gap: 18px; }
.hero-case img { width: 120px; height: 112px; }
.hero-case h3 { font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.hero-case p { font-size: 14px; }
.hero-projects__note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.stats .stat strong { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; }
.stat span { line-height: 1.5; }
.audience-card, .audience-card img { min-height: 440px; }
.audience-body { bottom: 26px; }
.audience-body p { margin-bottom: 14px; }
.text-link { display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; line-height: 1.5; }
.audience-body .text-link { color: #fff; font-size: 16px; }
.service-card .price { font-size: 15px; line-height: 1.5; }
.budget { background: #fff; }
.budget-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.budget-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.budget-grid span, .reconstruction-steps span { display: block; margin-bottom: 20px; color: #805007; font-size: 14px; font-weight: 700; }
.budget-grid h3 { font-size: 24px; line-height: 1.2; }
.budget-grid p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.scope-note { margin-top: 24px; padding: 30px; border-left: 4px solid var(--accent); background: var(--soft); }
.scope-note h3 { font-size: 24px; }
.scope-note p { max-width: 940px; color: var(--muted); font-size: 17px; }
.tech-copy .tech-disclaimer { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; font-size: 14px; line-height: 1.5; }
.tech-tab:focus-visible, .tech-hotspot:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.reconstruction-steps { display: grid; gap: 22px; padding: 34px; }
.reconstruction-steps span { margin: 0 0 8px; color: #ffc167; }
.reconstruction-steps h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; }
.reconstruction-steps p { color: rgba(255,255,255,.78); margin: 0; font-size: 17px; }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.work-card { min-height: 250px; }
.work-card span { line-height: 1.25; }
.work-card small { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; opacity: .86; }
.portfolio-source { margin-top: 24px; font-size: 17px; }
.faq { background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 64px; }
.faq-grid > div > p { color: var(--muted); font-size: 18px; }
.faq-list details { border-top: 1px solid #d9cdbd; }
.faq-list details:last-child { border-bottom: 1px solid #d9cdbd; }
.faq-list summary { cursor: pointer; padding: 22px 30px 22px 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.faq-list details p { color: #514b44; font-size: 17px; line-height: 1.6; margin-bottom: 24px; }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; }
.measure__grid { grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); }
.measure__content { padding-top: 64px; padding-bottom: 64px; }
.measure__content h2 { font-size: clamp(32px,4vw,52px); line-height: 1.1; }
.measure__content > p { max-width: 620px; font-size: 17px; }
.form { grid-template-columns: 1fr 1fr; align-items: start; gap: 20px 14px; margin-top: 12px; }
.form-field { min-width: 0; }
.form-field label { display: block; font-size: 15px; margin-bottom: 8px; }
.form-field label span { font-size: 14px; color: rgba(255,255,255,.7); }
.form-field small { display: block; font-size: 14px; margin-top: 7px; color: rgba(255,255,255,.7); }
.form .contact-choice { grid-column: 1 / -1; padding: 0; margin: 0; border: 0; }
.contact-choice legend { margin-bottom: 8px; font-size: 15px; }
.contact-choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 18px; font-size: 16px; cursor: pointer; }
.form .contact-choice input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
.form > button { grid-column: 1 / -1; justify-self: start; }
.form input[aria-invalid="true"] { border-color: #ffbe9d; }
.measure__content .form-agreement, .form-note { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.form-note { margin-top: 24px; }
.form-note a, .measure noscript a { text-decoration: underline; text-underline-offset: 4px; }
.form-fallback { padding: 20px; margin-top: 18px; border: 1px solid #bd9861; border-radius: 8px; }
.form-fallback p { font-size: 16px; }
.form-fallback .button { font-size: 16px; }
.measure__image { overflow: hidden; }
.measure__image img { filter: brightness(.75); }
.quick-contact { bottom: max(14px, env(safe-area-inset-bottom)); }
.footer-bottom { padding-bottom: 12px; }
@media (max-width: 1100px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card, .audience-card img { min-height: 360px; }
  .audience-body { max-width: 600px; }
}
@media (max-width: 1023px) {
  .hero { min-height: auto; align-items: start; padding: 140px 0 48px; }
  .hero__layout { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: 560px; }
  .hero-projects { max-width: 560px; }
}
@media (max-width: 980px) {
  .hero { min-height: auto; align-items: start; padding: 116px 0 48px; }
  .hero h1 { font-size: clamp(48px,8vw,76px); }
  .budget-grid, .faq-grid, .measure__grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 22px; }
  .measure__image { order: 1; max-height: 240px; }
  .measure__image img { min-height: 0; aspect-ratio: 3 / 1; object-fit: cover; }
  .measure__content { padding-top: 48px; padding-bottom: 48px; }
  .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form { max-width: 680px; }
  .form input, .form button, .faq-list summary { scroll-margin-bottom: 104px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .hero { padding-top: 100px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(42px,11.5vw,58px); margin: 18px 0; line-height: 1; }
  .hero .eyebrow { font-size: 13px; }
  .hero .lead { font-size: 17px; }
  .hero__actions { gap: 10px; }
  .hero-secondary { min-height: 44px; }
  .hero__note { font-size: 14px; }
  .hero-projects__head h2 { font-size: 1.25rem; }
  .hero-case { flex-basis: 100%; grid-template-columns: 96px minmax(0,1fr); }
  .hero-case img { width: 96px; height: 104px; }
  .hero-case h3 { font-size: 18px; }
  .hero-case p { font-size: 14px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-projects__note { font-size: 14px; }
  .budget-grid article, .scope-note { padding: 24px; }
  .scope-note p { font-size: 16px; }
  .reconstruction-steps { padding: 24px; }
  .portfolio-grid, .form { grid-template-columns: 1fr; }
  .form { gap: 16px; }
  .form > button { width: 100%; }
  .measure__content { padding: 36px 14px; }
  .measure__content h2 { font-size: 32px; }
  .measure__content > p { font-size: 16px; }
  .measure__image { display: none; }
  .faq-list summary { font-size: 18px; }
  .form-fallback { padding: 16px; }
  .button { min-height: 56px; height: auto; padding: 12px 18px; white-space: normal; text-align: center; }
  .button::after { flex-shrink: 0; }
  .footer { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
