.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .8rem 1rem; background: #fff; color: #111; transform: translateY(-180%); }
.skip-link:focus { transform: none; outline: 3px solid #111; }
.home-title { width: min(80%, 76rem); margin: 0 auto 2rem; font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.portfolio-heading { position: relative; margin: 2rem var(--gutter) 0; max-width: 26ch; font-size: clamp(1.7rem, 3.2vw, 3rem); font-weight: 400; line-height: 1.12; }
.cine-portfolio .cine-carousel { padding-top: clamp(1rem, 4vw, 3rem); }
.hero-motion { position: absolute; z-index: 3; right: max(2rem, 5vw); bottom: max(2rem, 5vh); min-height: 44px; padding: .5rem .8rem; border: 1px solid currentColor; border-radius: 2rem; background: #fff; color: #111; cursor: pointer; font-size: .8rem; }
.hero.playing .hero-motion { background: #111; color: #fff; }
.contact-help, .contact-privacy { font-size: .9rem; line-height: 1.6; }
.contact-privacy, .form-error-summary { grid-column: 1 / -1; margin: 0; }
.contact-privacy a { text-underline-offset: .2em; }
.field-error { display: block; margin-top: .35rem; font-size: .9rem; font-weight: 600; }
.contact-section [aria-invalid="true"] { border: 2px solid #a51d26; }
.contact-section .form-error-summary { padding: .75rem; border: 2px solid currentColor; }
.site-footer { padding: clamp(2rem, 5vw, 4rem) max(1.25rem, 5vw); background: #f5f4f1; color: #17131a; line-height: 1.55; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-block: 1rem; }
.site-footer nav a, .site-footer button { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer button, .cookie-policy-button { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: .25rem; padding: .55rem .8rem; cursor: pointer; }
.site-footer p { max-width: 75ch; font-size: .9rem; }
.funding-banner { display: block; width: min(100%, 54rem); height: auto; margin-block: 1.75rem .75rem; }
.funding-banner-wrap { overflow-x: auto; }
.consent-panel { position: fixed; inset: auto 1rem 1rem; z-index: 80; max-width: 58rem; max-height: min(75svh, 38rem); overflow: auto; margin-inline: auto; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid #777; border-radius: .75rem; box-shadow: 0 4px 40px #0003; background: #fff; color: #17131a; font-size: 1rem; line-height: 1.5; }
.consent-panel h2 { font-size: 1.3rem; margin: 0 0 .5rem; }
.consent-panel p { margin: .5rem 0 1rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.consent-actions button { flex: 1 1 10rem; min-height: 44px; border: 1px solid #17131a; border-radius: .3rem; padding: .7rem 1rem; font: inherit; font-weight: 600; background: #fff; color: #17131a; cursor: pointer; }
.consent-actions button:is([data-consent="accept"], [data-consent="reject"]) { background: #17131a; color: #fff; }
.consent-panel fieldset { margin: 1rem 0; padding: .8rem; border: 1px solid #777; }
.consent-panel label { display: flex; align-items: center; gap: .65rem; min-height: 44px; }
.consent-panel input { width: 1.25rem; height: 1.25rem; margin: 0; flex-shrink: 0; }
.consent-panel :focus-visible { outline: 3px solid #704a00; outline-offset: 3px; }
.legal-page { max-width: 54rem; margin: 0 auto; padding: 2rem max(1.25rem, 4vw) 4rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
.legal-page h2 { font-size: 1.35rem; margin-top: 2rem; line-height: 1.3; }
.legal-page table { width: 100%; border-collapse: collapse; margin-block: 1rem; font-size: .9rem; }
.legal-page th, .legal-page td { text-align: left; border: 1px solid #aaa; padding: .6rem; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.editor-form { display: block; }
.editor-form fieldset { margin-block: 1.5rem; padding: 1rem; border: 1px solid #aaa; }
.editor-form label { margin-block: 1rem; font-weight: 600; }
.editor-form textarea { min-height: 7rem; font-weight: 400; }
.editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.editor-form button, .editor-actions a { padding: .7rem 1rem; min-height: 44px; cursor: pointer; }
.editor-status { padding: 1rem; border: 1px solid #777; }
@media (max-width: 700px) {
  .home-title { width: calc(100% - 2 * var(--phone-gutter)); font-size: clamp(1.75rem, 7vw, 2.6rem); }
  .portfolio-heading { margin-block: .5rem 1.5rem; font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-motion { right: 1.75rem; bottom: 5.5rem; max-width: 12rem; }
  .consent-panel { inset-inline: .5rem; bottom: .5rem; max-height: 70svh; }
  .consent-actions button { flex-basis: calc(50% - .65rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
