:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #101b18; color: #f7f8ed; --accent: #d3f69e; }
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.primary:focus-visible { outline-color: var(--accent); }
.wrap { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.top { height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #51625a; }
h1 em { color: var(--accent); }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.contact { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding-inline: 12px; border: 1px solid #61736a; border-radius: 8px; font-size: 14px; text-decoration: none; }
.contact:hover { border-color: var(--accent); color: var(--accent); }
.hero { position: relative; isolation: isolate; width: 100%; min-height: calc(100svh - 80px); display: flex; align-items: center; padding: 70px max(44px, calc((100% - 1280px) / 2)); overflow: hidden; }
.copy { position: relative; z-index: 1; width: min(100%, 760px); }
h1 { font-size: clamp(52px, 6.2vw, 96px); font-weight: 450; line-height: 1; letter-spacing: -.07em; }
h1 em { display: block; font-style: normal; }
.copy p { max-width: 510px; margin-top: 28px; color: #c6d0c8; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.actions a { display: inline-flex; align-items: center; gap: 12px; min-height: 49px; border-radius: 8px; padding: 11px 15px; font-size: 14px; text-decoration: none; font-weight: 650; }
.primary { background: var(--accent); color: #102019; }
.primary:hover { background: #e6ffc8; }
.secondary { border: 1px solid #61736a; }
.secondary:hover { background: #24342c; }
.visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #101b18; }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101b18 0%, #101b18 20%, #101b18ed 37%, #101b1866 60%, transparent 79%); }
.visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 52%; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .visual img { animation: drift 5s ease-in-out 1 both; }
}
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: scale(1.025); } }
.light { color-scheme: light; background: #f4f5ee; color: #17241d; }
.preview { padding-block: 50px; border-bottom: 1px solid #d2d9cb; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 450; letter-spacing: -.055em; line-height: 1.05; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; margin: 24px 0 0; list-style: none; }
.services li { padding: 18px; border: 1px solid #c9d3c3; border-radius: 10px; font-size: 16px; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .top { height: 62px; }
  nav { gap: 15px; font-size: 13px; }
  .hero { display: block; width: 100%; min-height: max(660px, calc(100svh - 62px)); padding: 31px 18px 220px; }
  h1 { font-size: clamp(39px, 10vw, 65px); }
  .contact { padding-inline: 8px; font-size: 13px; }
  .copy p { margin-top: 16px; }
  .actions { margin-top: 19px; gap: 8px; }
  .visual::after { background: linear-gradient(180deg, #101b18 0%, #101b18f7 29%, #101b18d9 51%, #101b1822 75%, transparent); }
  .visual img { position: absolute; inset: auto 0 0; width: 100%; height: 72%; object-position: center 64%; }
  .preview { padding-block: 36px; }
  .services { grid-template-columns: 1fr; }
}
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; transform: translateY(-200%); padding: 10px; background: var(--accent); color: #102019; }
.skip:focus { transform: none; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 8px; text-decoration: none; font-weight: 650; }
.section { padding-block: clamp(42px, 7vw, 96px); }
.light .section + .section { border-top: 1px solid #d2d9cb; }
.section p, .section li { line-height: 1.6; }
.section h3 { margin: 0 0 8px; font-size: clamp(18px, 2vw, 25px); letter-spacing: -.035em; }
.section-note { margin-top: 26px; max-width: 62ch; }
.service-grid, .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.service-grid li, .steps li { padding: 20px; border: 1px solid #c9d3c3; border-radius: 12px; background: #fafbf7; }
.steps { counter-reset: process; }
.steps li { counter-increment: process; }
.steps li::before { content: counter(process, decimal-leading-zero); display: block; margin-bottom: 10px; color: #425d44; font-variant-numeric: tabular-nums; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 30px; }
.project-card { overflow: hidden; border: 1px solid #c9d3c3; border-radius: 14px; background: #fafbf7; }
.project-image { display: block; background: #dfe7db; }
.project-image img { display: block; width: 100%; height: auto; transition: transform .2s ease; }
.project-copy { padding: 20px; }
.project-copy h3 { margin-top: 7px; }
.type { font-size: 14px; color: #425d44; font-weight: 650; }
.text-link { display: inline-block; font-weight: 650; }
.prose > p, .prose > ul, .case-intro { max-width: 68ch; }
.prose > p, .case-intro { margin-top: 16px; }
.prose > h2:not(:first-child) { margin-top: 44px; }
.prose > .button { margin-top: 20px; }
.faq { margin-top: 24px; max-width: 780px; }
.faq details { border-bottom: 1px solid #c9d3c3; padding: 15px 0; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { margin: 10px 0; }
.final p { margin: 14px 0 24px; }
.footer { border-top: 1px solid #51625a; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-block: 24px; }
.page-top h1 { margin-top: 20px; max-width: 18ch; }
.case .type { margin-top: 22px; }
.case .type + h1 { margin-top: 4px; }
.case figure { margin: 26px 0 32px; }
.case figure img { display: block; width: min(100%, 920px); height: auto; border-radius: 14px; border: 1px solid #c9d3c3; }
.case figcaption { margin-top: 8px; font-size: 14px; color: #425d44; }
.light .primary:focus-visible { outline-color: #244b32; }
@media (max-width: 1020px) {
  .service-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .project-grid { grid-template-columns: 1fr; }
  .service-grid li, .steps li { padding: 14px; }
  .page-top h1 { font-size: clamp(38px, 10vw, 62px); }
}
@media (max-width: 360px) {
  .service-grid, .steps { grid-template-columns: 1fr; }
}
.project-copy h2 { margin: 7px 0 8px; font-size: clamp(18px, 2vw, 25px); letter-spacing: -.035em; }
