/* self-hosted fonts (Barlow / Barlow Condensed, OFL license): no Google Fonts */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(../assets/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }

:root {
  --bg: #0a0a0b; --bg-2: #111113; --card: #141416; --stroke: #26262a; --stroke-2: #2a2a2f; --stroke-3: #3a3a40;
  --orange: #ff5a1f; --orange-l: #ff7340; --orange-bg: #1a0f0a;
  --text: #f4f4f5; --text-2: #d4d4d8; --muted: #b4b4bb; --muted-2: #a1a1aa;
  --sans: 'Barlow', system-ui, sans-serif; --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --gutter: clamp(16px, 4vw, 24px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--bg); font-weight: 700; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* typography */
h1, h2, h3 { margin: 0; text-wrap: balance; }
.hot { color: var(--orange); }
.display { font-family: var(--cond); font-weight: 800; text-transform: uppercase; line-height: 1; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .28em; font-weight: 600; color: var(--orange-l); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--orange); flex-shrink: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 17px; padding: 16px 28px; border-radius: 10px; background: var(--orange); color: var(--bg); transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); background: var(--orange-l); }
.btn.ghost { background: transparent; border: 1.5px solid var(--stroke-3); color: var(--text); font-weight: 600; }
.btn.ghost:hover { background: #1c1c1f; border-color: #55555c; }

/* ===== header ===== */
header { position: sticky; top: 0; z-index: 40; background: rgba(10,10,11,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
header.scrolled { border-bottom-color: var(--stroke); background: rgba(10,10,11,.92); }
.nav { max-width: 1200px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; height: 64px; width: auto; transition: height .25s; }
header.scrolled .brand img { height: 52px; }
nav { display: flex; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; color: var(--text-2); }
nav a.l { padding: 10px 0; transition: color .15s; }
nav a.l:hover { color: #fff; }
nav .btn { font-size: 15px; font-weight: 600; padding: 12px 22px; border-radius: 8px; }
.menu { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--stroke-3); background: var(--card); color: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu i { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; padding-block: 10px; }
  .brand img, header.scrolled .brand img { height: 48px; }
  .menu { display: inline-flex; }
  nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 0 8px; border-top: 1px solid var(--stroke); }
  nav.open { display: flex; }
  nav a.l { padding: 14px; border-radius: 10px; font-size: 18px; }
  nav a.l:hover { background: #1c1c1f; }
  nav .btn { padding: 15px 18px; font-size: 17px; margin-top: 6px; }
}

/* ===== hero ===== */
.hero { position: relative; border-bottom: 1px solid var(--stroke); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 85% 40%, rgba(255,90,31,.28), rgba(10,10,11,0) 70%); pointer-events: none; }
.streak { position: absolute; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: .5; pointer-events: none; transform: rotate(-18deg); filter: blur(.5px); animation: streak 9s ease-in-out infinite; }
.streak.s1 { width: 46%; right: -6%; top: 22%; }
.streak.s2 { width: 30%; right: 18%; top: 64%; opacity: .3; animation-delay: -4s; }
@keyframes streak { 50% { transform: rotate(-18deg) translateX(-40px); opacity: .15; } }
.hero-in { position: relative; padding-top: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 24px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); line-height: .98; }
.hero .lead { margin: 0; max-width: 520px; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img { flex: 1 1 340px; max-width: 520px; margin: 0 auto; min-width: 0; }
.hero-img img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 78%, transparent 100%), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 78%, transparent 100%), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect; }

/* ===== pillars ===== */
.pillars { background: var(--bg-2); border-bottom: 1px solid var(--stroke); }
.pillars .wrap { padding-block: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { display: flex; align-items: center; gap: 16px; }
.pillar svg { width: 44px; height: 44px; flex-shrink: 0; }
.pillar span { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }

/* ===== services ===== */
.services .wrap { padding-block: 88px 72px; display: flex; flex-direction: column; gap: 48px; }
.sec-head { display: flex; flex-direction: column; gap: 16px; }
.sec-head h2 { font-size: clamp(40px, 6vw, 72px); }
.sec-head p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--text-2); }
/* flex like the mockup: a card left alone on a row takes the full width */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 340px; min-width: 0; background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(255,90,31,.55); transform: translateY(-3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card .n { font-family: var(--cond); font-weight: 800; font-size: 44px; color: var(--orange); line-height: 1; }
.card svg { width: 40px; height: 40px; }
.card h3 { font-size: 22px; font-weight: 600; line-height: 1.2; }
.card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; background: linear-gradient(120deg, var(--orange-bg), var(--card)); border: 1.5px solid var(--orange); border-radius: 18px; padding: 36px 32px; }
.banner > svg { width: 88px; height: 88px; flex-shrink: 0; }
.banner-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.banner h3 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.banner p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 640px; }

/* ===== portfolio (video carousel) ===== */
.work .wrap { padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.carousel { position: relative; }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding: 4px 2px 10px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 12px; }
.slide { flex: 0 0 auto; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.slide figcaption { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.slide.h { width: calc((100% - 16px) / 2); }
.slide.vt { width: min(280px, 70%); }
.media { aspect-ratio: 16 / 9; border: 1px solid var(--stroke); border-radius: 14px; overflow: hidden; background: #000; position: relative; }
.slide.vt .media { aspect-ratio: 9 / 16; }
.media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, filter .3s; filter: brightness(.78); }
.yt:hover img { transform: scale(1.03); filter: brightness(.92); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; font-size: 24px; color: var(--bg); background: var(--orange); box-shadow: 0 10px 30px -6px rgba(255,90,31,.7); transition: transform .2s; }
.yt:hover .play { transform: scale(1.08); }
.yt:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.car-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.carousel.fits .car-ui { display: none; }
.car-btn { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--stroke-3); background: var(--card); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s; }
.car-btn:hover:not(:disabled) { border-color: var(--orange); background: #1c1c1f; }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dot { all: unset; box-sizing: border-box; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); cursor: pointer; transition: width .25s, background .25s; position: relative; }
.dot::after { content: ""; position: absolute; inset: -10px -4px; }
.dot[aria-current="true"] { width: 26px; background: var(--orange); }
.dot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ===== contact ===== */
.contact-sec { background: var(--bg-2); border-top: 1px solid var(--stroke); position: relative; overflow: hidden; }
.contact-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 10% 100%, rgba(255,90,31,.22), rgba(10,10,11,0) 70%); pointer-events: none; }
.contact-sec .wrap { padding-block: 80px; display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.contact-main { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-main h2 { font-size: clamp(38px, 5.5vw, 68px); }
.contacts { display: flex; flex-direction: column; gap: 12px; }
.ct { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--stroke-2); border-radius: 12px; padding: 16px 20px; transition: border-color .15s, transform .15s; }
.ct:hover { border-color: var(--orange); transform: translateX(3px); }
.ct svg { width: 30px; height: 30px; flex-shrink: 0; }
.ct > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct small { font-size: 13px; color: var(--muted-2); }
.ct b { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.qr { flex: 1 1 260px; max-width: 340px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.qr img { width: 100%; max-width: 260px; height: auto; display: block; border-radius: 18px; }
.qr span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }

footer { background: var(--bg); border-top: 1px solid var(--stroke); }
footer .wrap { padding-block: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-2); }

/* ===== floating WhatsApp button ===== */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 16px; border-radius: 999px; background: #25D366; color: #06301A; font-weight: 700; font-size: 16px; box-shadow: 0 12px 34px -8px rgba(37,211,102,.65), 0 4px 14px rgba(0,0,0,.4); transition: transform .2s, box-shadow .2s; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
.fab svg { width: 28px; height: 28px; flex-shrink: 0; fill: currentColor; }
.fab:hover { transform: translateY(-3px); }

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .pillars .wrap { grid-template-columns: repeat(2, 1fr); }
  .slide.h { width: 86%; }
}
@media (max-width: 860px) {
  /* stacked hero: text first, portrait below, all centered */
  .hero-in { padding-top: 32px; }
  .hero-text { flex-basis: 100%; padding-bottom: 8px; }
  .hero-img { max-width: 440px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .hero-text { gap: 22px; }
  .cta .btn { flex: 1 1 100%; }
  .services .wrap { padding-block: 64px 56px; gap: 36px; }
  .work .wrap { padding-bottom: 64px; gap: 28px; }
  .card { padding: 24px 22px; }
  .banner { padding: 28px 22px; gap: 20px; }
  .banner > svg { width: 64px; height: 64px; }
  .banner .btn { width: 100%; }
  .contact-sec .wrap { padding-block: 64px; }
  .ct b { font-size: 18px; }
  footer .wrap { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .fab { width: 58px; padding: 0; justify-content: center; } .fab span { display: none; }
  .pillar svg { width: 36px; height: 36px; }
  .pillar span { font-size: 19px; }
  .slide.vt { width: 72%; }
}
@media (max-width: 380px) {
  .pillars .wrap { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: 40px; }
  .eyebrow { letter-spacing: .2em; font-size: 12px; }
}

/* reveal animation */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
