:root {
  --page: #0b0b0c;
  --surface: #131315;
  --surface-2: #0f0f10;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --heading: #f2f2f0;
  --body: #b9b9bb;
  --muted: #75757a;
  --accent: #ff4d0f;
  --accent-hover: #ff6a33;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: 'Fira Sans', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: 'Oswald', 'Fira Sans', sans-serif;
  color: var(--heading);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Eyebrow label ── */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); flex-shrink: 0; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 26px; height: 2px; background: var(--accent); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif; font-weight: 500;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 28px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--border-strong); color: var(--heading); background: transparent; }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px;
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .bar { width: 5px; height: 20px; background: var(--accent); flex-shrink: 0; }
.brand .name {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--heading);
}
.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-login {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.nav-login:hover { color: var(--heading); }
.nav-cta { display: none; }
.hamburger {
  display: flex; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 6px; cursor: pointer;
}
.hamburger span { width: 22px; height: 2px; background: var(--heading); display: block; }

.mobile-panel {
  display: none;
  position: sticky; top: 49px; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 8px 20px 16px;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; padding: 12px 0;
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--body);
  border-bottom: 1px solid var(--border);
}
.mobile-panel a:last-child { border-bottom: 0; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; }
.hero .img-slot { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.hero .img-slot::after { display: none; }
.hero .img-slot.art { background: radial-gradient(140% 120% at 75% 90%, #1a1a1e 0%, #0b0b0c 62%); }
.hero .img-slot > img { opacity: 0.9; object-position: center 62%; }
.hero .overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.58) 45%, rgba(11,11,12,0.25) 100%),
    linear-gradient(to bottom, rgba(11,11,12,0.3) 0%, transparent 25%, rgba(11,11,12,0.2) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 90px 20px 96px;
  min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero h1 {
  font-weight: 700; font-size: clamp(34px, 8.5vw, 82px);
  letter-spacing: -0.005em; max-width: 15ch; text-wrap: balance;
}
.hero p {
  margin: 26px 0 0; max-width: 46ch; font-size: clamp(14px, 2.4vw, 16px);
  line-height: 1.7; color: var(--body); text-wrap: pretty;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── Sections ── */
section { padding: 72px 0; }
.sec-head h2 { font-weight: 700; font-size: clamp(28px, 5vw, 48px); }
.sec-head { margin-bottom: 42px; }
.sec-head.center { text-align: center; }

/* ── Image slot ── */
.img-slot {
  position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #1a1a1d 0%, #101012 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-slot::after {
  content: attr(data-label);
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #55555a; text-align: center; padding: 0 16px; max-width: 90%;
}
.img-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-slot > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.img-slot:has(> img)::after,
.img-slot:has(> svg)::after { display: none; }
.img-slot.art {
  background:
    radial-gradient(120% 90% at 28% 18%, #1b1b1f 0%, #0d0d0f 68%);
}
/* line-art illustration system */
.art svg .l { stroke: #4c4c51; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art svg .a { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art svg .d { stroke: #46464a; stroke-width: 1.4; fill: none; stroke-dasharray: 2 5; stroke-linecap: round; }
.art svg .f { fill: var(--accent); }
.art svg .fl { fill: #4c4c51; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service-card { position: relative; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.15s; }
.badge-new {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--accent); color: #fff;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 10px;
}
.service-card:hover { border-color: rgba(255, 77, 15, 0.5); }
.service-card .img-slot { aspect-ratio: 16 / 9; }
.service-card .card-body { padding: 24px 22px 28px; }
.service-card .tick { width: 24px; height: 2px; background: var(--accent); margin-bottom: 16px; }
.service-card h3 { font-weight: 700; font-size: 18px; letter-spacing: 0.03em; margin-bottom: 10px; }
.service-card p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ── Gallery ── */
#gallery.hidden { display: none; }
.gallery-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 4px; -webkit-overflow-scrolling: touch;
}
.gallery-strip img {
  width: 100%; height: 220px; object-fit: cover; scroll-snap-align: start;
  border: 1px solid var(--border);
}
.gallery-empty { color: var(--muted); font-size: 14px; font-family: 'IBM Plex Mono', monospace; }

/* ── Why us ── */
.why { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why h2 { font-weight: 700; font-size: clamp(28px, 5vw, 46px); margin-bottom: 28px; }
.why .img-slot { aspect-ratio: 16 / 10; margin-bottom: 8px; }
.why-list { border-top: 1px solid var(--border-strong); }
.why-item { padding: 24px 2px; border-bottom: 1px solid var(--border-strong); }
.why-item h3 { font-weight: 700; font-size: 19px; letter-spacing: 0.03em; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.contact h2 { font-weight: 700; font-size: clamp(30px, 6vw, 54px); margin-bottom: 20px; }
.contact-lead { margin: 0 0 26px; max-width: 42ch; font-size: 15px; line-height: 1.7; color: var(--muted); }
.info-rows { display: flex; flex-direction: column; gap: 14px; }
.info-row .label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 3px;
}
.info-row .value { color: var(--heading); font-size: 14.5px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quick-actions a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--border-strong);
  color: var(--heading);
}
.quick-actions a.call { background: var(--accent); border-color: var(--accent); color: #fff; }
.quick-actions a.call:hover { background: var(--accent-hover); }

.map-frame { width: 100%; height: 320px; border: 1px solid var(--border); overflow: hidden; margin-top: 40px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form { background: var(--surface); border: 1px solid var(--border); padding: 28px 22px; }
.contact-form .fields { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--page); border: 1px solid var(--border-strong);
  color: var(--heading); padding: 14px 15px; font-family: 'Fira Sans', sans-serif;
  font-size: 14px; outline: none; resize: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form button { margin-top: 6px; width: 100%; border: 0; }
.contact-form button:disabled { opacity: 0.55; cursor: not-allowed; }
.form-status { margin: 12px 0 0; font-size: 13.5px; min-height: 1em; }
.form-status.ok { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; color: #5f5f63; }
.footer-social { display: flex; gap: 22px; }
.footer-social a {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.footer-social a:hover { color: var(--accent); }

/* ── Tablet ── */
@media (min-width: 768px) {
  .wrap, .hero-inner { padding-left: 40px; padding-right: 40px; }
  nav { padding: 16px 40px; }
  .mobile-panel { padding-left: 40px; padding-right: 40px; }
  section { padding: 96px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery-strip { grid-auto-columns: 1fr; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .sec-head .sec-note { max-width: 34ch; text-align: right; font-size: 13.5px; color: var(--muted); margin: 0; }
  .sec-head.center { display: block; }
}

/* ── Article page ── */
.back {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.back:hover { color: var(--heading); }

.article { max-width: 760px; margin: 0 auto; padding: 56px 20px 90px; line-height: 1.75; }
.article .date {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.article h1 {
  font-weight: 700; text-transform: uppercase; line-height: 1.08;
  letter-spacing: -0.005em; font-size: clamp(26px, 5vw, 44px); margin: 14px 0 30px;
}
.article .cover {
  width: 100%; max-height: 420px; object-fit: cover;
  border: 1px solid var(--border); margin-bottom: 36px;
}
.article .content { font-size: 16px; color: var(--body); }
.article .content p { margin: 0 0 18px; }
.article .content h2, .article .content h3 {
  font-family: 'Oswald', sans-serif; color: var(--heading);
  text-transform: uppercase; margin: 34px 0 14px; line-height: 1.15;
}
.article .content h2 { font-size: 24px; }
.article .content h3 { font-size: 19px; }
.article .content a { text-decoration: underline; }
.article .content img { border: 1px solid var(--border); margin: 20px 0; }
.article .content ul, .article .content ol { margin: 0 0 18px; padding-left: 22px; }
.article .content li { margin-bottom: 8px; }
.article .content blockquote {
  margin: 20px 0; padding: 4px 0 4px 20px;
  border-left: 2px solid var(--accent); color: var(--muted);
}
.state { text-align: center; color: var(--muted); padding: 60px 0; font-family: 'IBM Plex Mono', monospace; font-size: 13px; }

footer.footer-simple { padding: 28px 20px; text-align: center; }

/* ── Desktop ── */
@media (min-width: 1100px) {
  .nav-links {
    display: flex; gap: 28px;
    font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 12.5px;
    letter-spacing: 0.14em; text-transform: uppercase;
  }
  .nav-links a { color: #b9b9bb; }
  .nav-links a:hover { color: #fff; }
  .nav-cta { display: inline-block; }
  .hamburger { display: none; }
  .mobile-panel { display: none !important; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-strip { grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .gallery-strip img { height: 240px; border: 0; }
  .hero-inner { min-height: 78vh; }
  .why-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
}
