:root {
  --black: #111111;
  --ink: #1b1b1b;
  --grey: #5f5f5f;
  --line: #e6e3dc;
  --paper: #faf8f3;
  --white: #ffffff;
  --yellow: #ffc619;
  --yellow-dark: #e6ad00;
  --radius: 14px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 900; max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .9em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-black { background: var(--black); color: var(--white); }
.btn-outline { border-color: var(--black); color: var(--black); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(17,17,17,.94); backdrop-filter: blur(8px); color: var(--white); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--black); font-weight: 900; font-size: .8rem; letter-spacing: -.02em; box-shadow: 0 0 0 3px var(--yellow); }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { font-weight: 900; font-size: 1.35rem; line-height: 1; }
.brand-text small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 2px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--yellow); }
@media (max-width: 820px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .top .btn span { display: none; }
  .top .btn { padding: .7em; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--black); color: var(--white); padding: clamp(80px, 14vw, 160px) 0 clamp(90px, 12vw, 140px); overflow: hidden; }
.hero.has-photo { background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.75) 45%, rgba(10,10,10,.35) 100%), var(--hero) center/cover no-repeat, var(--black); }
.hero-in { position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.eyebrow.dark { color: var(--yellow-dark); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.85); }
.stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, var(--black) 22px 44px); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-yellow { background: var(--yellow); color: var(--black); }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); }
.service svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--black); stroke: var(--yellow); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.service p { margin: 0; color: var(--grey); }

/* ---------- projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; padding: .5em 1.1em; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: var(--white); cursor: pointer; }
.chip.on, .chip:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 30px; }
@media (max-width: 360px) { .projects { grid-template-columns: 1fr; } }
.project { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: #222; font: inherit; color: var(--white); text-align: left; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover img { transform: scale(1.05); }
.project-info { position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.project-info strong { display: block; font-size: 1.1rem; }
.project-info small { opacity: .8; }
.count { position: absolute; top: 12px; right: 12px; background: var(--yellow); color: var(--black); font-size: .75rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; }
.project[hidden] { display: none; }
.empty { color: rgba(255,255,255,.75); }
.empty a { color: var(--yellow); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.about p { color: #333; font-size: 1.07rem; max-width: 60ch; }
.usp { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.usp li { background: var(--white); border-left: 5px solid var(--yellow); border-radius: 10px; padding: 16px 20px; color: var(--grey); }
.usp b { display: block; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact p { font-size: 1.1rem; max-width: 46ch; }
.card { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 28px 30px; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; }
.card dt { color: var(--yellow); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.card dd { margin: 0; word-break: break-word; }
.card a { text-decoration: none; }
.card a:hover { color: var(--yellow); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .card { grid-template-columns: 1fr; gap: 2px; } .card dd { margin-bottom: 10px; } }

.foot { background: var(--black); color: rgba(255,255,255,.6); padding: 26px 0 90px; font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--yellow); }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8,8,8,.96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; color: var(--white); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 16px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 190px); max-width: 100%; margin: 0 auto; object-fit: contain; border-radius: 6px; user-select: none; }
.lightbox figcaption { text-align: center; padding: 14px 8px 0; max-width: 70ch; margin: 0 auto; }
.lightbox figcaption small { display: block; opacity: .7; }
.lightbox figcaption p { margin: 6px 0 0; font-size: .95rem; opacity: .85; max-height: 4.8em; overflow: auto; }
.lb-pos { display: block; font-size: .8rem; opacity: .6; margin-top: 6px; }
.lightbox button { background: none; border: 0; color: var(--white); font-size: 3rem; cursor: pointer; height: 100%; opacity: .75; font-family: inherit; }
.lightbox button:hover { opacity: 1; color: var(--yellow); }
.lb-close { position: absolute; top: 8px; right: 12px; height: auto !important; font-size: 2.6rem !important; z-index: 2; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { display: none; }
  .lightbox figure { padding-inline: 8px; }
}
