:root {
  --ink: #171916;
  --paper: #f2f0e9;
  --white: #fbfaf6;
  --muted: #c7c7bd;
  --accent: #c7f25a;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(23,25,22,.18);
  --sans: "Manrope", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
h2 { font-size: clamp(3.7rem, 7vw, 7.2rem); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: var(--ink); background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section { padding: 130px 6vw; }
.eyebrow { margin-bottom: 22px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; min-height: 82px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; color: var(--white); transition: min-height .3s, background .3s, border .3s; }
.site-header.scrolled { min-height: 66px; color: var(--ink); background: rgba(242,240,233,.94); border-bottom: 1px solid var(--line-light); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.brand span { font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 31px; font-size: .76rem; font-weight: 500; }
nav a { position: relative; }
nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s; }
nav a:hover::after { right: 0; }
.nav-contact { padding: 11px 18px; border: 1px solid currentColor; border-radius: 100px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid currentColor; border-radius: 100px; font-size: .64rem; letter-spacing: .08em; }
.lang-switch a { min-width: 31px; padding: 5px 7px; border-radius: 100px; text-align: center; }
.lang-switch a::after { display: none; }
.lang-switch a[aria-current="page"] { color: var(--ink); background: var(--accent); }
.nav-toggle { display: none; padding: 10px; border: 0; background: none; }
.nav-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; }
.button { min-height: 52px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 100px; font-size: .76rem; font-weight: 600; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .68; }
.button-accent { color: var(--ink); background: var(--accent); }
.button-light { color: var(--ink); background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .76rem; }

.hero { min-height: 100svh; padding: 135px 6vw 35px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: var(--ink); }
.hero-status { align-self: flex-end; padding: 8px 13px; border: 1px solid var(--line-dark); border-radius: 100px; color: #c4c8be; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-status span { width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(199,242,90,.1); }
.hero-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 7vw; align-items: end; }
.hero .eyebrow { color: #b4b8ae; }
.hero h1 { max-width: 1200px; margin: 0; font-size: clamp(4.7rem, 9.6vw, 10.5rem); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-side { padding-bottom: 14px; }
.hero-side > p { margin-bottom: 35px; color: #c4c7bf; font-size: 1rem; }
.hero-side > div { display: flex; align-items: center; gap: 25px; }
.hero-footer { padding-top: 28px; display: flex; gap: 30px; border-top: 1px solid var(--line-dark); color: #858a80; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }

.section-heading { margin-bottom: 85px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; align-items: end; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 500px; margin-bottom: 8px; color: #6e726a; }
.project { margin-bottom: 135px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 4vw; align-items: end; }
.project-featured { grid-template-columns: 1.28fr .72fr; }
.project-image { position: relative; height: min(57vw, 720px); overflow: hidden; background: #ddd9cf; }
.project-image img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project-image:hover img { transform: scale(1.025); }
.project-image > span { position: absolute; right: 18px; bottom: 18px; padding: 12px 17px; border-radius: 100px; color: var(--white); background: rgba(23,25,22,.82); backdrop-filter: blur(8px); font-size: .7rem; }
.project-info { display: grid; grid-template-columns: 42px 1fr; gap: 24px; }
.project-number { padding-top: 5px; color: #92958e; font-size: .7rem; }
.project-info h3 { margin: 0 0 22px; font-size: clamp(3rem, 5vw, 5.5rem); }
.project-info div > p:last-child { max-width: 500px; color: #686c64; }
.project-info ul { grid-column: 2; margin: 28px 0 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 9px; border-top: 1px solid var(--line-light); list-style: none; }
.project-info li { padding: 7px 11px; border: 1px solid var(--line-light); border-radius: 100px; font-size: .65rem; }

.services { color: var(--white); background: var(--ink); }
.section-heading.light > p { color: #aeb2a8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.service-grid article { min-height: 330px; padding: 30px 26px; display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); }
.service-grid article:last-child { border-right: 0; }
.service-grid span { color: var(--accent); font-size: .68rem; }
.service-grid h3 { margin: auto 0 20px; font-size: 1.7rem; letter-spacing: -.04em; }
.service-grid p { margin: 0; color: #aeb2a8; font-size: .8rem; }

.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.process-intro { position: sticky; top: 110px; align-self: start; }
.process-intro h2 { margin-bottom: 35px; }
.process-intro > p:last-child { max-width: 500px; color: #676b63; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { padding: 30px 0; display: grid; grid-template-columns: 45px 1fr auto; gap: 22px; border-top: 1px solid var(--line-light); }
.process-list li:last-child { border-bottom: 1px solid var(--line-light); }
.process-list > li > span { color: #8d9189; font-size: .68rem; }
.process-list h3 { margin-bottom: 10px; font-size: 2rem; letter-spacing: -.04em; }
.process-list p { max-width: 520px; margin: 0; color: #6d7169; font-size: .82rem; }
.process-list small { padding-top: 4px; color: #8c9088; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; align-items: center; background: #deddd5; }
.about-mark { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--ink); }
.about-mark img { width: 72%; }
.about-copy h2 { margin-bottom: 40px; }
.about-copy > p:not(.eyebrow) { max-width: 630px; font-size: 1rem; }
.about-note { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line-light); color: #666a62; font-size: .78rem !important; }

.contact { color: var(--white); background: #536051; }
.contact .eyebrow { color: #d8ddd3; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 9vw; align-items: end; }
.contact-grid h2 { margin: 0; }
.contact-grid p { color: #d7ddd3; }
.contact-grid small { margin-top: 14px; display: block; color: #bfc7bc; font-size: .65rem; }

footer { padding: 65px 6vw 25px; display: grid; grid-template-columns: 1fr auto; gap: 30px; color: var(--white); background: var(--ink); }
footer > div { display: flex; gap: 24px; font-size: .72rem; }
footer > small { grid-column: 1 / -1; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: #7c8178; font-size: .64rem; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .site-header { min-height: 72px; }
  .nav-toggle { display: block; z-index: 2; }
  nav { position: fixed; inset: 0; padding: 110px 7vw; display: none; flex-direction: column; align-items: flex-start; gap: 27px; color: var(--white); background: var(--ink); font-family: var(--sans); font-size: 2.5rem; }
  nav.open { display: flex; }
  .lang-switch { margin-top: 6px; font-family: var(--body); font-size: .72rem; }
  .lang-switch a { min-width: 42px; padding: 8px 10px; }
  .site-header.menu-open { color: var(--white); }
  .section { padding: 95px 6vw; }
  .hero-grid, .section-heading, .process, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero-side { max-width: 620px; }
  .section-heading { gap: 40px; }
  .project, .project-featured { grid-template-columns: 1fr; gap: 45px; }
  .project .project-info { order: 2; }
  .project .project-image { order: 1; }
  .project-image { height: 70vw; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .process-intro { position: static; }
  .about-mark { max-width: 600px; }
}

@media (max-width: 600px) {
  .brand span { font-size: .6rem; }
  .hero { min-height: auto; padding: 120px 6vw 30px; gap: 45px; }
  .hero-status { align-self: flex-start; }
  .hero h1 { font-size: clamp(3.8rem, 17vw, 5.7rem); }
  .hero-side > div { align-items: flex-start; flex-direction: column; }
  .hero-footer { gap: 12px 20px; flex-wrap: wrap; }
  .section-heading { margin-bottom: 55px; }
  .project { margin-bottom: 90px; }
  .project-image { height: 95vw; }
  .project-info { grid-template-columns: 30px 1fr; gap: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .service-grid article:last-child { border-bottom: 0; }
  .process-list li { grid-template-columns: 35px 1fr; }
  .process-list small { grid-column: 2; }
  .about { gap: 60px; }
  footer { grid-template-columns: 1fr; }
  footer > div { flex-wrap: wrap; }
  footer > small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (hover: none) {
  .button:hover { transform: none; }
  .project-image:hover img { transform: none; }
}
