:root {
  --ink: #202126;
  --muted: #66676c;
  --paper: #f5f3f2;
  --white: #ffffff;
  --brand: #df1f43;
  --brand-dark: #a91330;
  --brand-light: #f16a82;
  --line: #e1dddc;
  --shadow: 0 24px 70px rgba(32, 33, 38, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(32,33,38,.08);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 132px; height: auto; }
.brand-copy { padding-left: 14px; border-left: 1px solid var(--line); font-size: 11px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; text-decoration: none; font-size: 14px; font-weight: 650; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--brand); transition: right .2s ease; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 13px 20px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); background: var(--brand-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; font: inherit; font-weight: 700; }

.hero { position: relative; min-height: 660px; display: flex; align-items: end; overflow: hidden; color: #fff; background: #202126; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,20,22,.94) 0%, rgba(22,20,22,.72) 48%, rgba(22,20,22,.2) 100%), url("assets/hero.jpg") center/cover; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -100px; bottom: -170px; border: 70px solid rgba(223,31,67,.22); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; padding: 120px 0 84px; max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow, .dark .eyebrow, .page-hero .eyebrow { color: var(--brand-light); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(48px, 7.4vw, 92px); letter-spacing: -.045em; }
.hero p { max-width: 650px; margin: 27px 0 34px; font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button.light { background: var(--brand); color: #fff; }
.button.ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); }

.stats { position: relative; z-index: 4; margin-top: -36px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: var(--shadow); }
.stat { padding: 30px 34px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--brand); font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.section { padding: 112px 0; }
.section.white { background: #fff; }
.section.dark { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; }
.section-intro { margin: 0; color: var(--muted); font-size: 18px; }
.dark .section-intro { color: rgba(255,255,255,.68); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.image-frame { position: relative; }
.image-frame img { width: 100%; min-height: 420px; object-fit: cover; }
.image-frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brand); z-index: -1; }
.prose h2 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 25px; }
.prose p { color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; color: var(--brand); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(5px); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 260px; padding: 30px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(32,33,38,.08); }
.service-number { color: var(--brand); font-family: Georgia, serif; font-size: 19px; }
.service-card h3 { margin: 42px 0 14px; font-size: 28px; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }

.projects-image { min-height: 460px; background: linear-gradient(90deg, rgba(32,33,38,.88), rgba(32,33,38,.2)), url("assets/projects.jpg") center/cover; display: flex; align-items: end; padding: 48px; }
.projects-image h3 { max-width: 600px; font-size: clamp(34px, 5vw, 58px); }
.project-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.project-tags span { border: 1px solid rgba(255,255,255,.28); padding: 8px 13px; border-radius: 999px; color: rgba(255,255,255,.85); font-size: 13px; }

.contact-band { background: var(--brand); color: #fff; padding: 72px 0; }
.contact-band .wrap { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.contact-band h2 { max-width: 700px; font-size: clamp(34px, 5vw, 58px); }
.contact-band .button { flex: 0 0 auto; background: #fff; color: var(--ink); }

.page-hero { min-height: 430px; display: flex; align-items: end; position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32,33,38,.92), rgba(32,33,38,.3)), var(--hero-image) center/cover; }
.page-hero .wrap { position: relative; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 82px); }
.page-hero p { max-width: 650px; color: rgba(255,255,255,.8); font-size: 18px; }
.content-grid { display: grid; grid-template-columns: 270px 1fr; gap: 70px; }
.side-title { position: sticky; top: 120px; align-self: start; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rich-text h2 { margin: 55px 0 18px; font-size: 38px; }
.rich-text h2:first-child { margin-top: 0; }
.rich-text h3 { margin: 32px 0 10px; font-size: 25px; }
.rich-text p, .rich-text li { color: var(--muted); }
.rich-text ul { columns: 2; gap: 36px; padding-left: 20px; }
.rich-text li { break-inside: avoid; margin-bottom: 8px; }
.legal { max-width: 850px; }
.legal h2 { font-size: 32px; }
.legal h3 { font-family: inherit; font-weight: 800; font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: #fff; padding: 36px; border: 1px solid var(--line); }
.contact-card h3 { font-size: 28px; margin-bottom: 18px; }
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--brand); font-weight: 700; text-decoration: none; }

.footer { background: #18191d; color: #fff; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 55px; }
.footer-logo { width: 170px; padding: 10px; background: #fff; }
.footer p, .footer a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer h3 { margin-bottom: 18px; font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.45); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 86px; padding: 24px 20px 30px; background: #fff; flex-direction: column; align-items: stretch; box-shadow: 0 20px 30px rgba(32,33,38,.1); }
  .nav.open { display: flex; }
  .hero { min-height: 580px; }
  .section-head, .grid-2, .content-grid { grid-template-columns: 1fr; gap: 38px; }
  .side-title { position: static; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand-copy { display: none; }
  .hero-content { padding: 100px 0 70px; }
  .stats { margin-top: 0; }
  .stats-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 36px; }
  .image-frame::after { display: none; }
  .image-frame img { min-height: 300px; }
  .projects-image { min-height: 420px; padding: 28px; }
  .contact-band .wrap { align-items: flex-start; flex-direction: column; }
  .rich-text ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
