:root {
  --bg: #14131f;
  --bg-2: #1a1925;
  --text: #ffffff;
  --muted: #b9b8c2;
  --accent: #f26a1b;
  --line: rgba(255, 255, 255, .22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.accent { color: var(--accent); }

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
}
.eyebrow::before, .eyebrow--center::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow--center { justify-content: center; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #ff7b2e; transform: translateY(-1px); }

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.topbar__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a { text-decoration: underline; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a { text-decoration: none; display: inline-flex; transition: color .2s; }
.topbar__social a:hover { color: var(--accent); }
.topbar__social span { margin-right: 4px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: rgba(20, 19, 31, .92);
  backdrop-filter: blur(8px);
}
.logo { font-size: 30px; font-weight: 400; letter-spacing: .2px; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--accent); }
.nav__dropdown { position: relative; }
.nav__works { display: inline-flex; align-items: center; gap: 4px; }
.nav__menu {
  position: absolute;
  top: 100%; left: -12px;
  min-width: 190px;
  padding: 10px 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: .2s;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 8px 18px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  padding: 90px 24px 90px 150px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  background: url("../images/hero-office.jpg") center / cover no-repeat;
}
.hero__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(20, 19, 31, 0) 35%);
}
.hero__content { position: relative; max-width: 640px; }
.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.12;
  margin: 28px 0 40px;
}
.hero__sub { font-size: 15px; margin-bottom: 40px; }

/* About */
.about {
  position: relative;
  padding: 40px 24px 80px;
  background:
    radial-gradient(ellipse 45% 40% at 100% 0%, rgba(242, 106, 27, .22), transparent 70%),
    var(--bg);
}
.about__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  align-items: center;
}
.about__photo { margin: 0; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--1 { grid-column: 1; grid-row: 1; aspect-ratio: 637 / 695; }
.about__photo--2 { grid-column: 2; grid-row: 2; aspect-ratio: 637 / 607; }
.about__text--right { grid-column: 2; grid-row: 1; text-align: center; max-width: 420px; margin: 0 auto; }
.about__text--left { grid-column: 1; grid-row: 2; text-align: center; max-width: 420px; margin: 0 auto; padding: 30px 0; }
.about__text h2 { font-size: 36px; font-weight: 400; line-height: 1.2; margin: 14px 0 18px; }
.about__text p { font-size: 15px; line-height: 1.55; color: #f0f0f4; }
.about__text--left h2 { font-size: 34px; }
.vline { display: block; width: 1px; height: 40px; background: var(--line); margin: 28px auto 0; }

/* Statement */
.statement { padding: 70px 24px 90px; text-align: center; }
.statement__title {
  font-size: clamp(44px, 9vw, 120px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.statement__title span { display: block; }
.statement__title span:first-child { color: #c7c6cd; }
.services {
  max-width: 1100px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.services li {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.services h3 { font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.services li:hover h3 { color: var(--accent); }
.services p { font-size: 15px; color: var(--muted); max-width: 32ch; }

/* Blog */
.blog { padding: 60px 24px 100px; }
.section-title {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}
.blog__grid {
  max-width: 1200px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post__thumb { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 10; margin-bottom: 18px; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .post__thumb img { transform: scale(1.04); }
.post time { font-size: 13px; color: var(--accent); }
.post h3 { font-size: 20px; font-weight: 400; margin: 6px 0 10px; line-height: 1.3; }
.post h3 a:hover { color: var(--accent); }
.post p { font-size: 15px; color: var(--muted); }
.post__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

/* Team */
.team { position: relative; min-height: 290px; display: flex; align-items: center;}
.team__bg {
  position: absolute; inset: 0;
  background: url("../images/team-bg.jpg") center / cover no-repeat fixed;
}
.team__inner {
  position: relative;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  background-color: rgba(0, 0, 0, 0.5);
}
.team h2 { font-size: 26px; font-weight: 400; line-height: 1.25; margin-top: 6px; max-width: 280px; }
.team__right { margin-right: 140px; }
.team__label { font-size: 13px; margin: 14px 0 8px; }
.team__address { font-size: 13px; color: var(--muted); }

.partners {
  background: #1a1925;
  padding: 56px 0;
  overflow: hidden;
}

.partners__viewport {
  overflow: hidden;
  /* soft fade on left and right edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: partners-scroll 35s linear infinite;
}
.partners__viewport:hover .partners__track { animation-play-state: paused; }

.partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 64px;
  font-size: 26px;
  color: #fff;
}
.partner img { height: 70px; width: auto; max-width: none; }

/* FAQ */
.faq { padding: 90px 24px 100px; }
.faq__list { max-width: 760px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 62ch; }

/* Footer */
.footer { padding: 70px 24px 40px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 40px;
}
.footer__logo { font-size: 32px; color: var(--accent); font-weight: 500; letter-spacing: -.01em; }
.footer__brand p { font-size: 13px; margin-top: 6px; max-width: 24ch; }
.footer h4 { font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.footer li { font-size: 13px; color: #d0d0d8; margin-bottom: 8px; }
.footer li a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #2a2936;
  transition: background .2s;
}
.footer__social a:hover { background: var(--accent); }
.footer__copy { text-align: center; font-size: 13px; margin-top: 70px; }
.footer__copy a { text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .logo { font-size: 22px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-2);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav__dropdown { padding: 10px 0; width: 100%; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 0 14px; }
  .hero { padding: 60px 24px; min-height: 520px; }
  .hero__image { width: 100%; opacity: .35; }
  .hero__image::after { background: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo--1, .about__photo--2, .about__text--right, .about__text--left { grid-column: 1; grid-row: auto; }
  .about__text--right { order: 1; } .about__photo--1 { order: 0; }
  .about__text--left { order: 2; } .about__photo--2 { order: 3; }
  .services, .blog__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .team__right { margin-right: 0; }
}
@media (max-width: 560px) {
  .topbar { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .partner { font-size: 20px; }
  .partner img { height: 48px; }
}
@media (max-width: 960px) { .team__bg { background-attachment: scroll; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 560px) {
  .partner { font-size: 20px; margin-right: 40px; gap: 12px; }
  .partner img { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
  .partners__viewport { overflow-x: auto; }
}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:100;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:25px;line-height:1;box-shadow:0 6px 18px #0005;transition:background .2s,transform .2s}
.back-to-top:hover{background:#d9560f;transform:translateY(-3px)}
.back-to-top:focus-visible{outline:3px solid var(--accent);outline-offset:3px}