:root { color-scheme: dark; --bg: #101114; --text: #f4f0e7; --muted: #b8b6b0; --line: #393a3d; --accent: #dfa866; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% 0%, #28211d 0, transparent 35%), var(--bg); color: var(--text); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 82px; width: min(1180px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-size: 1.15rem; font-weight: 850; letter-spacing: .13em; white-space: nowrap; }
.wordmark-dot { color: var(--accent); }
.header-note, .site-header nav, .site-footer { color: var(--muted); font-size: .82rem; }
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .back-link:hover { color: var(--accent); }
.hero { padding-block: clamp(76px, 11vw, 150px) 92px; }
.eyebrow { margin: 0 0 17px; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(3rem, 7vw, 6.6rem); line-height: 1.02; letter-spacing: -.055em; }
.lead { max-width: 685px; color: #d6d2ca; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.6; }
.projects { padding-bottom: 125px; }
.section-head { margin-bottom: 29px; }
.section-head h2 { font-size: 2rem; letter-spacing: -.03em; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { min-height: 355px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; background: #1a1b1e; transition: transform .2s ease, border-color .2s ease; }
.project-card:hover { transform: translateY(-4px); border-color: #77736e; }
.project-card.coffee { background: linear-gradient(145deg, #32251b, #19191a 65%); }
.project-card.invocador { background: linear-gradient(145deg, #28233b, #19191a 65%); }
.project-card.paddock { background: linear-gradient(145deg, #352021, #19191a 65%); }
.card-index { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.project-card h3 { margin: 54px 0 12px; font-size: 1.85rem; letter-spacing: -.04em; }
.project-card p { color: #d0cdc7; line-height: 1.55; }
.project-card a { margin-top: auto; width: fit-content; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 5px; font-weight: 700; }
.project-card a span { color: var(--accent); }
.site-footer { min-height: 80px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subpage { padding-block: clamp(75px, 11vw, 145px) 100px; min-height: calc(100vh - 162px); }
.subpage h1 { max-width: 900px; }
.info-panel { max-width: 760px; margin-top: 58px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #1b1c1f; }
.info-panel h2 { font-size: 1.45rem; }
.info-panel p { color: #d5d0c7; line-height: 1.65; }
.status { margin: 24px 0 0; padding-left: 13px; border-left: 2px solid var(--accent); font-size: .92rem; }
.back-link { display: inline-block; margin-top: 46px; text-decoration: none; font-weight: 700; }
.coffee-page { --accent: #d59e60; background: radial-gradient(circle at 85% 0%, #382619 0, transparent 38%), var(--bg); }
.invocador-page { --accent: #afa1e8; background: radial-gradient(circle at 85% 0%, #29223e 0, transparent 38%), var(--bg); }
@media (max-width: 850px) { .project-grid { grid-template-columns: 1fr; } .project-card { min-height: 260px; } .project-card h3 { margin-top: 34px; } }
@media (max-width: 600px) { .shell, .site-header { width: min(100% - 30px, 1180px); } .site-header { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 19px; } .site-header nav { gap: 12px 17px; } .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; } }
