:root {
  color-scheme: dark;
  --page: #101010;
  --panel: #171717;
  --line: #383532;
  --text: #f8f4ed;
  --muted: #c9c3bb;
  --accent: #ff756a;
  --action: #ec5146;
  --ink: #161210;
  --display: Anton, Impact, "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #ffb9b0; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--text); color: var(--ink); }
.wrap { width: min(100% - clamp(2rem, 9vw, 9rem), 86rem); margin-inline: auto; }
.demo { padding: .42rem 1rem; text-align: center; background: #24211f; color: #e5d8cd; font-size: .75rem; letter-spacing: .045em; }
.demo span { color: var(--accent); margin-inline: .3em; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.header-inner { min-height: 4.75rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; line-height: 1; min-height: 44px; }
.brand strong { display: block; font-size: 1.42rem; font-weight: 950; letter-spacing: -.06em; }
.brand small { display: block; margin-top: .35rem; font-size: .57rem; letter-spacing: .14em; font-weight: 750; }
.accent, em { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.3rem); font-size: .9rem; }
nav > a:not(.button), .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .5rem; }
nav > a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.menu, .filters button { min-height: 44px; border: 1px solid #77726b; background: transparent; color: var(--text); padding: .45rem .8rem; }
.menu span { margin-left: .3rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .65em; min-height: 48px; border: 1px solid transparent; padding: .72rem 1rem; background: var(--action); color: var(--ink); font-weight: 800; font-size: .91rem; text-align: center; }
.button:hover, .filters button[aria-pressed="true"]:hover { background: #ff776c; }
.button-outline { background: transparent; border-color: #8b4841; color: var(--text); }
.button-outline:hover { background: #38201d; }
.eyebrow, .tag { margin: 0; font-size: .77rem; line-height: 1.4; text-transform: uppercase; font-weight: 800; letter-spacing: .13em; color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.021em; }
h2 { margin-top: .65rem; font-size: clamp(2.4rem, 5.1vw, 4.6rem); }
h3 { margin-top: 1rem; font-size: 1.45rem; }
em { font-style: normal; }
p { margin: .8rem 0 0; color: var(--muted); }
.hero-copy > p:not(.eyebrow) { max-width: 35ch; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.3rem; row-gap: .4rem; margin-top: 1.4rem; }
.section { padding-block: clamp(2.8rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.split { display: grid; grid-template-columns: 4fr 6fr; align-items: start; gap: clamp(1.3rem, 6vw, 6rem); }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .85rem; }
.filters button { font-size: .86rem; font-weight: 700; }
.filters button[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--ink); }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 1.35fr 1fr auto; gap: .65rem; align-items: center; padding-block: .8rem; border-bottom: 1px solid var(--line); }
.schedule li span { color: var(--muted); }
.schedule li span:last-child { font-variant-numeric: tabular-nums; }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 48px; padding: .8rem 0; font-weight: 750; }
summary::marker { color: var(--accent); }
details p { margin: 0 0 1rem; }
.contact { background: radial-gradient(ellipse at 12% 90%, #451b17, transparent 73%), var(--page); }
.form-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #6d524a; background: var(--panel); }
form { display: grid; gap: .4rem; }
form label { font-weight: 700; }
input, select { min-height: 48px; min-width: 0; width: 100%; border: 1px solid #877f76; padding: .57rem .75rem; background: var(--page); color: var(--text); border-radius: 0; }
input::placeholder { color: #aaa39a; }
input, select { margin-bottom: .5rem; }
.result { margin: 0; overflow-wrap: anywhere; }
.result:not(:empty) { margin-top: .55rem; padding-left: .75rem; border-left: 2px solid var(--accent); }
.footer { padding-block: 1rem; font-size: .87rem; }
.footer p { margin: 0; }
.footer strong { color: var(--text); margin-right: .65rem; }
@media (max-width: 52rem) {
  nav { width: 100%; align-items: stretch; flex-direction: column; gap: .35rem; }
  nav .button { align-self: flex-start; }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 38rem) {
  .schedule li { grid-template-columns: minmax(0, 1fr) auto; font-size: .93rem; }
  .schedule li strong { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Identidade editorial */
@font-face {
  font-family: Anton;
  src: url("assets/anton.woff2") format("woff2");
  font-display: swap;
}
.header { position: sticky; top: 0; z-index: 5; background: #101010; }
.header-inner { min-height: 4.5rem; }
.skip { position: fixed; z-index: 8; }
section[id] { scroll-margin-top: 5rem; }
.scroll-progress { position: fixed; inset: 0 auto auto 0; width: 100%; height: 3px; transform: scaleX(var(--progress, 0)); transform-origin: left; background: var(--accent); z-index: 7; pointer-events: none; }
.button { min-height: 52px; padding-inline: 1.2rem; }
.eyebrow { letter-spacing: .16em; }
.hero { border-bottom: 1px solid var(--line); position: relative; isolation: isolate; overflow: clip; padding: 0; background: #171414; }
.hero-media, .hero-media::after, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, #110d0de8 3%, #120e0ead 39%, #160f0f1a 82%), linear-gradient(0deg, #100d0de0, transparent 38%);
}
.hero-media img, .hero-media video { display: block; object-fit: cover; object-position: 67% 44%; }
.hero-media video { opacity: 0; transition: opacity .65s ease; }
.hero-media video.active { opacity: 1; }
.hero-inner { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; min-height: calc(100svh - 4.5rem); padding-block: clamp(4rem, 9vh, 7rem); position: relative; }
.demo { position: absolute; top: 1.15rem; left: 0; border-left: 2px solid var(--accent); padding: .35rem .65rem; margin: 0; background: #161313; }
.hero h1 { font-size: clamp(4.1rem, 10vw, 10.6rem); line-height: 1.04; margin-block: .85rem 1rem; }
.hero h1 span, .hero h1 em { display: block; }
.hero-copy > p:not(.eyebrow) { max-width: 43ch; color: var(--text); }
.actions { margin-top: 1.65rem; }
.media-toggle { position: absolute; bottom: 1.1rem; right: 0; background: #171414; color: var(--text); min-height: 44px; border: 1px solid #a89b92; padding: .45rem .85rem; font-size: .86rem; }
.disciplines { background: #ede8dd; color: #171515; }
.disciplines p { color: #48413d; }
.disciplines .eyebrow, .disciplines .tag { color: #9a2923; }
.section-heading { display: flex; gap: 1rem 3rem; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-heading > p { max-width: 26ch; }
.discipline { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(10rem, .65fr); align-items: center; gap: .8rem 3rem; padding-block: clamp(1rem, 3vw, 2rem); border-top: 1px solid #ad9f93; }
.discipline:last-child { border-bottom: 1px solid #ad9f93; }
.discipline h3 { font: 400 clamp(2rem, 5vw, 4.2rem)/1 Anton, Impact, sans-serif; text-transform: uppercase; margin-top: .45rem; }
.discipline p { margin: 0; }
.discipline .media-note { font-size: .9rem; }
.clip:empty { display: none; }
.clip button { min-height: 44px; padding: .4rem .75rem; background: transparent; border: 1px solid currentColor; color: inherit; font-weight: 700; }
.clip button:hover { text-decoration: underline; text-underline-offset: .25em; }
.disciplines :focus-visible { outline-color: #9a2923; }
.clip video { display: block; width: 100%; background: #0e0d0d; max-height: 25rem; }
.clip video[hidden] { display: none; }
.clip p { margin-top: .35rem; }
.manifesto { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); background: #241916; }
.manifesto-media { position: relative; min-width: 0; background: #120f0e; }
.manifesto-media img { display: block; width: 100%; height: 100%; min-height: 22rem; max-height: 47rem; object-fit: cover; }
.manifesto-media .clip { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; }
.manifesto-media button { background: #141211; }
.manifesto-content { align-self: center; padding: clamp(1.75rem, 6vw, 7rem); }
.practical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.practical h2 { font-size: clamp(2rem, 4vw, 3rem); }
.practical-grid > div { border-top: 2px solid var(--action); padding-top: 1rem; }
.contact h2 { font-size: clamp(3.2rem, 8vw, 7.2rem); max-width: 10ch; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span, .hero h1 em { animation: lift-in .7s both; }
  .hero h1 em { animation-delay: .1s; }
  @keyframes lift-in { from { clip-path: inset(100% 0 0); transform: translateY(.2em); } to { clip-path: inset(0); transform: translateY(0); } }
  .enter { animation: section-enter .6s both; }
  @keyframes section-enter { from { opacity: .68; transform: translateY(.85rem); } }
}
@media (max-width: 52rem) {
  .hero-inner { padding-block: 5.1rem 4.75rem; }
  .hero-media img, .hero-media video { object-position: 64% 48%; }
  .hero-media::after { background: linear-gradient(0deg, #100d0def 5%, #130e0eb0 60%, #140e0e62); }
  .hero h1 { font-size: clamp(3.75rem, 12.8vw, 7rem); }
  .hero-copy { align-self: stretch; }
  .discipline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .discipline .clip, .discipline .media-note { grid-column: 1 / -1; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-media img { aspect-ratio: 3/2; min-height: 0; }
}
@media (max-width: 38rem) {
  .practical-grid, .discipline { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media video { transition: none; }
}
.clip video { margin-top: .5rem; }
.manifesto-media .clip:has(video:not([hidden])) { position: static; padding: .75rem 1rem; }
.manifesto-media .clip:has(video:not([hidden])) video { margin-inline: auto; }
@media (max-width: 52rem) {
  nav { max-height: min(68dvh, 26rem); overflow-y: auto; padding: .3rem; }
}
@media (max-width: 52rem) {
  .js #nav:not([data-ready]) { display: none; }
}
