:root {
  --dark: #0d1714;
  --dark-2: #101b17;
  --ink: #101311;
  --cream: #f3f0e9;
  --muted: #b7beb8;
  --line: rgba(255,255,255,.30);
  --line-dark: rgba(17,19,17,.20);
  --accent: #c9fa78;
  --accent-2: #bdf26a;
  --shell: 1240px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: #fff; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 80px), var(--shell)); margin-inline: auto; }
.shell--narrow { max-width: 850px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 9999; padding: 10px 14px; background: #fff; color: #000; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 100; background: transparent; }
body:not(.home) .site-header { background: var(--dark); }
.site-header__inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-brand { min-width: 120px; }
.custom-logo { width: auto; max-height: 34px; }
.brand-text, .site-footer__brand { font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav__menu { display: flex; align-items: center; gap: 34px; padding: 0; margin: 0; list-style: none; }
.primary-nav__menu a { font-size: 14px; font-weight: 700; }
.primary-nav__menu a:hover { color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 9px 7px; background: transparent; border: 0; }
.nav-toggle > span:not(.screen-reader-text) { display: block; height: 2px; background: #fff; margin: 6px 0; transition: .25s ease; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 26px; padding: 0 24px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: #0b120f; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #d6ff98; }
.button--small { min-height: 42px; padding-inline: 22px; font-size: 13px; }
.button--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.button--dark:hover { background: #1a2823; }

.section-dark { background: var(--dark); }
.section-title { margin: 0 0 42px; font-size: clamp(38px, 4.3vw, 68px); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.section-title--dark { color: var(--ink); }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.hero { min-height: 560px; padding: 145px 0 70px; background: radial-gradient(circle at 50% 40%, #182620 0, var(--dark) 58%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 80px; align-items: center; }
.hero__content h1 { max-width: 870px; margin: 0; font-size: clamp(58px, 7.2vw, 104px); line-height: .91; letter-spacing: -.058em; font-weight: 720; }
.hero__content h1 span, .hero__content h1 strong { display: block; }
.hero__content h1 strong { color: var(--accent); font-weight: 720; }
.hero__lead { max-width: 650px; margin: 30px 0 28px; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.35; color: #f3f5f2; }
.hero__aside { align-self: center; padding-top: 40px; }
.hero__aside > span { display: block; width: 34px; border-top: 1px solid #fff; margin-bottom: 18px; opacity: .9; }
.hero__aside p { margin: 0; font-size: 13px; line-height: 1.32; font-weight: 800; letter-spacing: .06em; }

.projects { padding: 0 0 58px; }
.project-card { margin: 0 0 34px; }
.project-card__visual { position: relative; display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.65); background: #17211d; aspect-ratio: 2.65 / 1; }
.project-card__visual > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-card__visual > img { transform: scale(1.012); }
.project-card__overlay { position: absolute; left: 48px; bottom: 44px; z-index: 2; display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 0 18px; background: rgba(245,244,235,.95); color: #151915; font-size: 14px; font-weight: 800; opacity: 0; transform: translateY(10px); transition: .25s ease; }
.project-card:hover .project-card__overlay { opacity: 1; transform: none; }
.project-card__mobile { position: absolute; z-index: 3; right: 3.5%; bottom: -3%; width: 19%; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.project-card__mobile img { width: 100%; height: auto; }
.project-card__meta { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: center; padding: 12px 0 0; }
.project-card__meta h3, .project-card__meta p { margin: 0; }
.project-card__meta h3 { font-size: 20px; font-weight: 500; }
.project-card__meta p { color: #e2e7e2; text-align: right; }
.project-card__meta > a { font-size: 30px; line-height: 1; }
.project-card__placeholder { height: 100%; display: grid; place-content: center; text-align: center; background: linear-gradient(135deg, #26352f, #101915); }
.project-card__placeholder span { font-size: clamp(34px, 5vw, 70px); font-weight: 800; letter-spacing: -.04em; }
.project-card__placeholder small { margin-top: 10px; color: var(--muted); }
.projects__note { margin: 8px 0 0; color: #cfd4d0; font-size: 13px; }
.empty-state { padding: 32px; margin-bottom: 30px; border: 1px solid var(--line); color: #dfe5df; }

.benefits { background: var(--cream); padding: 58px 0 70px; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit { display: grid; grid-template-columns: 52px 1fr; gap: 22px; min-height: 102px; padding: 12px 30px 22px 0; color: var(--ink); border-right: 1px solid var(--line-dark); }
.benefit:nth-child(3n+2), .benefit:nth-child(3n+3) { padding-left: 30px; }
.benefit:nth-child(3n) { border-right: 0; }
.benefit:nth-child(n+4) { padding-top: 26px; border-top: 1px solid var(--line-dark); }
.benefit__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin: 0 0 3px; font-size: 21px; line-height: 1.15; }
.benefit p { margin: 0; color: #353d38; line-height: 1.35; }

.process { padding: 58px 0 62px; background: radial-gradient(circle at 20% 20%, #17241f 0, var(--dark) 48%); }
.process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.process-step { padding-right: 22px; border-right: 1px solid rgba(255,255,255,.18); }
.process-step:last-child { border-right: 0; }
.process-step__top { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 12px; }
.process-step__top span { font-size: 34px; font-weight: 400; }
.process-step__top i { display: block; border-top: 1px solid rgba(255,255,255,.55); }
.process-step h3 { margin: 0 0 4px; font-size: 19px; }
.process-step p { margin: 0; color: #cbd1cc; font-size: 14px; line-height: 1.45; }

.faq { padding: 8px 0 54px; }
.faq .section-title { font-size: clamp(34px, 3.5vw, 52px); margin-bottom: 26px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; min-height: 62px; cursor: pointer; font-size: 18px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 22px; height: 22px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; border-top: 2px solid #fff; transform: translate(-50%, -50%); transition: .2s ease; }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-item__answer { max-width: 860px; padding: 0 50px 22px 0; color: #cbd1cc; }
.faq-item__answer p { margin: 0; }

.contact { background: radial-gradient(circle at 18% 35%, #d7ff94 0, var(--accent) 48%, #bdf16d 100%); color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; padding-top: 54px; padding-bottom: 54px; }
.contact__intro h2 { margin: 0; font-size: clamp(46px, 5vw, 72px); line-height: .92; letter-spacing: -.05em; }
.contact__intro p { max-width: 390px; margin: 26px 0 30px; font-size: 18px; line-height: 1.35; }
.contact__line { display: block; width: 30px; border-top: 1px solid var(--ink); margin-bottom: 22px; }
.contact__intro > a { font-weight: 800; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(12,18,14,.65); border-radius: 0; background: rgba(255,255,255,.13); color: #111; padding: 13px 14px; outline: none; }
.contact-form input { min-height: 48px; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 2px rgba(12,18,14,.16); }
.contact-form__submit { width: 100%; }
.contact-form__privacy { margin: 0; align-self: center; font-size: 13px; }
.contact-form__privacy a { text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; }
.form-notice { margin-bottom: 16px; padding: 12px 14px; border: 1px solid rgba(0,0,0,.45); background: rgba(255,255,255,.35); }
.form-notice--error { background: #ffe2dd; }

.site-footer { background: var(--dark); padding: 38px 0; }
.site-footer__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.site-footer__brand { margin-bottom: 8px; }
.site-footer__tagline { color: #c9cfca; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

.content-page { min-height: 70vh; padding: 150px 0 80px; background: var(--cream); color: var(--ink); }
.content-page h1 { font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.05em; }
.entry-content { font-size: 18px; line-height: 1.7; }
.entry-content a { text-decoration: underline; }
.entry-hero { margin: 30px 0; }
.post-list-item { padding: 25px 0; border-bottom: 1px solid var(--line-dark); }
.post-list-item h2 { margin: 0 0 6px; }

@media (max-width: 980px) {
  .shell { width: min(calc(100% - 44px), var(--shell)); }
  .site-header__inner { height: 76px; }
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; z-index: 101; display: none; flex-direction: column; align-items: stretch; justify-content: center; padding: 100px 28px 40px; background: rgba(10,18,15,.98); }
  .primary-nav.is-open { display: flex; }
  .primary-nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__menu a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .primary-nav .button { margin-top: 20px; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__aside { display: none; }
  .project-card__visual { aspect-ratio: 1.65 / 1; }
  .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit, .benefit:nth-child(3n+2), .benefit:nth-child(3n+3) { padding: 20px 22px; border: 0; border-top: 1px solid var(--line-dark); }
  .benefit:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line-dark); }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .process-step:nth-child(2) { border-right: 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .brand-text, .site-footer__brand { font-size: 24px; }
  .hero { padding: 106px 0 42px; }
  .eyebrow { font-size: 12px; }
  .hero__content h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero__lead { margin: 22px 0; font-size: 17px; }
  .button { width: 100%; justify-content: space-between; }
  .projects { padding-bottom: 24px; }
  .project-card { margin-bottom: 22px; }
  .project-card__visual { aspect-ratio: 1.12 / 1; }
  .project-card__overlay { display: none; }
  .project-card__mobile { right: 4%; width: 29%; bottom: -2%; }
  .project-card__meta { grid-template-columns: 1fr auto; gap: 7px 10px; padding: 10px 12px 12px; border: 1px solid rgba(255,255,255,.55); border-top: 0; }
  .project-card__meta h3 { font-size: 17px; }
  .project-card__meta p { grid-column: 1 / -1; grid-row: 2; text-align: left; font-size: 13px; color: #cbd1cc; }
  .project-card__meta > a { grid-column: 2; grid-row: 1; }
  .projects__note { padding-left: 0; }
  .benefits { padding: 38px 0 44px; }
  .section-title { margin-bottom: 24px; font-size: 42px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(3n+2), .benefit:nth-child(3n+3), .benefit:nth-child(odd) { grid-template-columns: 46px 1fr; padding: 20px 0; border-right: 0; border-top: 1px solid var(--line-dark); }
  .benefit:first-child { border-top: 0; }
  .benefit h3 { font-size: 18px; }
  .benefit p { font-size: 14px; }
  .process { padding: 38px 0; }
  .process__grid { grid-template-columns: 1fr; gap: 0; }
  .process-step, .process-step:nth-child(2) { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step__top { grid-template-columns: 62px 1fr; }
  .faq { padding-bottom: 38px; }
  .faq-item summary { font-size: 16px; min-height: 58px; }
  .faq-item__answer { padding-right: 0; font-size: 14px; }
  .contact__grid { padding-top: 38px; padding-bottom: 38px; }
  .contact__intro h2 { font-size: 50px; }
  .contact-form { grid-template-columns: 1fr; gap: 14px; }
  .contact-form__privacy { font-size: 12px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .content-page { padding-top: 120px; }
}
