:root {
  --ink: #101828;
  --muted: #5d6678;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #d9e0ea;
  --accent: #1d6fdc;
  --accent-2: #19a974;
  --warm: #f5a524;
  --danger: #d94f45;
  --shadow: 0 26px 80px rgba(16, 24, 40, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.topbar nav { display: flex; gap: clamp(12px, 2vw, 26px); color: rgba(255,255,255,.82); font-weight: 700; font-size: .92rem; }
.topbar a:hover { color: var(--white); }
.hero {
  position: relative;
  min-height: 91vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(18px, 4vw, 56px) 96px;
  color: var(--white);
}
.hero img, .hero::before, .hero::after { position: absolute; inset: 0; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,14,26,.95) 0%, rgba(8,14,26,.82) 40%, rgba(8,14,26,.24) 78%),
    linear-gradient(180deg, rgba(8,14,26,.32), rgba(8,14,26,.48));
}
.hero::after {
  content: "";
  z-index: 2;
  height: 8px;
  top: auto;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--warm), var(--danger));
}
.hero-inner { position: relative; z-index: 3; max-width: 820px; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--warm);
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 0;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: .88;
  letter-spacing: 0;
}
.lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
}
.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-strip a:hover { color: var(--white); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.4);
  font-weight: 800;
}
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.button.secondary { background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.intro {
  position: relative;
  z-index: 4;
  margin-top: -52px;
  padding: 0 clamp(18px, 4vw, 56px);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
}
.intro-grid article {
  min-height: 214px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
}
.intro-grid article:last-child { border-right: 0; }
.num { color: var(--accent); font-size: .78rem; font-weight: 800; }
.intro-grid h2 { margin: 16px 0 10px; font-size: clamp(1.12rem, 1.8vw, 1.45rem); line-height: 1.13; }
.intro-grid p, .section p, .card p, .steps li { color: var(--muted); }
.section {
  padding: clamp(72px, 10vw, 126px) clamp(18px, 4vw, 56px);
}
.wrap { max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 14px; font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1; letter-spacing: 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.card h3 { margin: 14px 0 12px; font-size: 1.25rem; line-height: 1.2; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.text-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.text-link::after {
  content: ">";
  color: var(--accent);
  font-weight: 900;
}
.text-link:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 111, 220, .35);
  box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
}
.media-section {
  padding: clamp(72px, 9vw, 116px) clamp(18px, 4vw, 56px);
  background: var(--white);
}
.media-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.service-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.pill-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}
.faq-list p { margin: 12px 0 0; }
.article-body {
  max-width: 860px;
  margin: 0 auto;
}
.article-body h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.05;
}
.article-body p, .article-body li { color: var(--muted); }
.article-body ul {
  padding-left: 20px;
}
.portfolio {
  background: #eef3f8;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 111, 220, .45);
  box-shadow: 0 18px 46px rgba(16, 24, 40, .1);
}
.project-card h3 {
  margin: 14px 24px 12px;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.12;
}
.project-card p {
  margin: 0 24px 22px;
  color: var(--muted);
}
.project-card em {
  margin-top: auto;
  padding: 0 24px 24px;
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}
.project-card .num {
  margin: 20px 24px 0;
}
.project-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #d9e0ea;
}
.project-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}
.project-card:hover .project-shot img {
  transform: scale(1.025);
}
.process {
  background: var(--ink);
  color: var(--white);
}
.process .section-head p, .process .steps li { color: rgba(255,255,255,.74); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps li {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.cta {
  padding: clamp(58px, 8vw, 94px) clamp(18px, 4vw, 56px);
  background: var(--white);
}
.cta-box {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cta h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; }
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}
.contact-list a { color: var(--ink); }
footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer strong { color: var(--ink); }

@media (max-width: 900px) {
  .intro-grid, .cards, .steps, .project-grid, .link-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .intro-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-grid article:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .cta-box { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .topbar { position: absolute; }
  .topbar nav { display: none; }
  .hero { min-height: 86vh; padding-top: 110px; }
  .hero::before { background: linear-gradient(90deg, rgba(8,14,26,.96), rgba(8,14,26,.56)); }
  h1 { font-size: clamp(3rem, 17vw, 5.2rem); }
  .intro-grid, .cards, .steps, .project-grid, .link-grid { grid-template-columns: 1fr; }
  .intro-grid article:last-child { grid-column: auto; }
  footer { flex-direction: column; }
}
