:root {
  --red: #c8282d;
  --red-dark: #9e1d21;
  --black: #111;
  --ink: #1d1d1f;
  --muted: #5a5a60;
  --line: #e3e3e6;
  --bg: #fff;
  --alt: #f4f4f5;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* header */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--red); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; background: #fff; color: var(--red); font: italic 900 2rem/1 Georgia, serif; border: 3px solid var(--red); border-radius: 4px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 1.35rem; letter-spacing: .08em; }
.brand-text em { font-style: normal; color: #ff6b6f; font-weight: 700; letter-spacing: .14em; font-size: .85rem; }
.brand-text small { color: #bbb; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: #2a2a2d; color: #fff; }
.nav a.btn { background: var(--red); margin-left: 8px; }
.nav a.btn:hover { background: var(--red-dark); }
.menu-btn { display: none; background: none; color: #fff; border: 2px solid #555; border-radius: var(--radius); padding: 8px 14px; font: inherit; font-weight: 600; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; padding: 12px 22px; border-radius: var(--radius); text-decoration: none; font-weight: 700; border: 2px solid var(--red); cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-sm { padding: 8px 14px; }

/* hero */
.hero { color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.45)), var(--hero) center/cover no-repeat, #222; padding: clamp(64px, 12vw, 150px) 0; }
.hero .lead { max-width: 640px; font-size: 1.2rem; color: #eee; }
.eyebrow { color: #ff8a8d; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin: 0 0 8px; }
.hero .btn { margin: 8px 8px 0 0; }

/* sections */
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section.alt { background: var(--alt); }
.page-head { background: var(--black); color: #fff; padding: 36px 0; border-bottom: 4px solid var(--red); }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.intro { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 22px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards p { margin: 0; color: var(--muted); }

/* portfolio */
.grid { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #ddd; aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tile:hover img { transform: scale(1.04); }
.tile-cap { position: absolute; inset: auto 0 0 0; padding: 18px 10px 8px; color: #fff; font-size: .8rem; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
li[hidden] { display: none; }
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog#lightbox::backdrop { background: rgba(0,0,0,.88); }
#lb-img { max-width: 94vw; max-height: 82vh; border-radius: var(--radius); margin: auto; }
#lb-cap { color: #eee; text-align: center; margin: 8px 0 0; }
.lb-close { position: absolute; top: -8px; right: -8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }

/* cta, contact */
.cta { background: var(--red); color: #fff; text-align: center; padding: 48px 0; }
.cta a:not(.btn) { color: #fff; }
.cta .btn { background: #fff; color: var(--red-dark); border-color: #fff; }
.cta .btn:hover { background: var(--black); color: #fff; border-color: var(--black); }
.two { display: grid; gap: 40px; grid-template-columns: 2fr 1fr; }
form label { display: block; font-weight: 600; margin-bottom: 14px; }
form input, form textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; font: inherit; border: 2px solid #c9c9cf; border-radius: var(--radius); }
form input:focus, form textarea:focus { border-color: var(--red); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin-top: 12px; font-weight: 600; }
#form-status.ok { color: #1b6e2f; }
#form-status.err { color: var(--red-dark); }

/* footer */
.site-footer { background: var(--black); color: #ccc; padding: 40px 0 0; border-top: 4px solid var(--red); }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; }
.cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-logo { background: #fff; padding: 6px; border-radius: 4px; margin-bottom: 10px; }
.legal { border-top: 1px solid #333; margin-top: 28px; padding: 16px 0; font-size: .85rem; color: #999; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 4px solid var(--red); }
  .nav.open { display: flex; }
  .nav a.btn { margin: 8px 0 0; text-align: center; }
  .site-header { position: relative; }
  .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img { transition: none; } }
