:root {
  --paper: #f8f8f5;
  --ink: #1d2623;
  --muted: #525e57;
  --green: #34594a;
  --pale: #dce8d9;
  --line: #d7ded6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #629b78; outline-offset: 5px; }
.frame { width: min(100% - 6rem, 80rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 0; left: 1rem; padding: .7rem 1rem; background: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8f8f5f2;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #1d262314;
}
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.65rem; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; line-height: 1.02; text-decoration: none; font-size: 1.14rem; font-weight: 740; letter-spacing: -.055em; }
.brand small { display: block; margin-top: .28rem; font-size: .75rem; font-weight: 600; letter-spacing: .01em; }
.brand-mark { display: block; width: 2.65rem; height: auto; flex: none; }
nav { display: flex; gap: clamp(1.3rem, 3.1vw, 3rem); }
nav a { padding-block: .65rem; font-size: .94rem; font-weight: 560; text-decoration: none; }
nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3rem; }
.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 660;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--green); }
.button-light { background: #fffef8; color: var(--ink); }
.button-light:hover { background: var(--pale); }
.button-outline { border-color: #a5b0a7; }
.button-outline:hover { border-color: var(--ink); background: #eef1eb; }
.header-contact { justify-self: end; min-height: 2.55rem; font-size: .88rem; padding-inline: 1.05rem; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 49vw, 49rem);
  color: #fffefb;
  background: #273a34;
}
.hero-image, .hero-image img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; object-position: 60% 49%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #111d19e3 0%, #111d19ae 27%, #111d192e 59%, transparent 84%); }
.hero-body { padding-block: 4rem 4.5rem; }
.overline { font-size: .82rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.hero-location { display: flex; align-items: center; gap: .6rem; color: #ecf1e7; }
.hero-location span { width: .6rem; height: .6rem; border-radius: 50%; background: #c1d7a5; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-block: 1.14rem 1.36rem; font-weight: 680; font-size: clamp(5.1rem, 9.7vw, 9.15rem); line-height: .88; letter-spacing: -.088em; }
.hero-summary { max-width: 24rem; color: #f3f5ef; font-size: clamp(1.05rem, 1.65vw, 1.24rem); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button-hero-outline { border-color: #f3f5efbf; background: #111d1973; color: #fffefb; }
.button-hero-outline:hover { border-color: #fffefb; background: #111d19d9; }
.hero-credit { position: absolute; right: 1.5rem; bottom: 1rem; padding: .24rem .55rem; border-radius: .3rem; background: #111d19c7; color: white; font-size: .75rem; }
.projects { padding-block: clamp(4rem, 8.2vw, 8rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
h2 { font-size: clamp(2.9rem, 6.1vw, 6rem); font-weight: 650; letter-spacing: -.08em; line-height: 1.01; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 19rem; padding-bottom: .28rem; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.project { display: flex; flex-direction: column; border-radius: 1.4rem; overflow: hidden; background: #edf1eb; }
.project:nth-child(2) { background: #eeeee8; }
.project-image { position: relative; aspect-ratio: 1.59; background: #c9d2c9; overflow: hidden; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .45s ease; }
.project:hover .project-image img { scale: 1.025; }
.project-image figcaption { position: absolute; right: .85rem; bottom: .85rem; border-radius: .3rem; color: white; background: #18261ee3; font-size: .75rem; padding: .22rem .5rem; }
.project-info { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1.3rem, 3.15vw, 2.75rem); }
.project-type { color: var(--green); }
h3 { margin-block: .45rem .7rem; font-size: clamp(2rem, 3.35vw, 3.65rem); font-weight: 650; line-height: 1.04; letter-spacing: -.065em; }
.project-info p:not(.overline) { color: var(--muted); max-width: 30rem; margin-bottom: 1.3rem; }
.project-link { display: inline-flex; min-height: 2rem; align-items: center; font-weight: 690; color: #294d3b; text-underline-offset: .26em; margin-top: auto; }
.project-link:hover { color: #142b20; }
.about { background: #212f29; color: #f4f8ee; padding-block: clamp(4.5rem, 9vw, 9rem); }
.about-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2rem 4rem; }
.about-label { color: #cadbc5; margin-bottom: .7rem; }
.about h2 { max-width: 12ch; }
.about-content { max-width: 32rem; color: #e1e9df; font-size: clamp(1.07rem, 1.5vw, 1.24rem); text-wrap: pretty; }
.about-content p + p { margin-top: .85rem; }
.footer { padding-top: clamp(3.3rem, 6vw, 6rem); }
.footer-main { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.45rem; padding-bottom: clamp(2.5rem, 5.5vw, 5rem); }
.footer-main p { color: var(--muted); font-size: 1.08rem; margin-top: .72rem; }
.footer-actions, .inquiry-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.footer-meta { display: flex; gap: .65rem 1.2rem; flex-wrap: wrap; align-items: baseline; padding-block: 1.45rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .91rem; }
.footer-meta address { font-style: normal; }
.footer-meta a { margin-left: auto; text-underline-offset: .23em; }
.inquiry { position: fixed; color: var(--ink); background: var(--paper); width: min(34rem, 100% - 2rem); padding: 2rem; border: 0; border-radius: 1.4rem; box-shadow: 0 1.25rem 5rem #13251b4d; }
.inquiry::backdrop { background: #15231b99; backdrop-filter: blur(4px); }
.inquiry h2 { max-width: 15ch; font-size: clamp(2rem, 7vw, 3.5rem); margin-top: .65rem; }
.inquiry-copy { color: var(--muted); margin-block: .9rem 1.5rem; }
.close { display: grid; place-items: center; position: absolute; right: .8rem; top: .8rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: #e5ebe3; color: var(--ink); cursor: pointer; font: 1.55rem/1 system-ui, sans-serif; }
.close:hover { background: var(--pale); }
@media (max-width: 850px) {
  .frame { width: calc(100% - 3.5rem); }
  .about-inner { gap: 1.5rem 2rem; }
}
@media (max-width: 650px) {
  :root { scroll-padding-top: 6.6rem; }
  .frame { width: calc(100% - 2.2rem); }
  .bar { grid-template-columns: 1fr auto; gap: 0 .55rem; min-height: 0; padding-top: .65rem; }
  .header-contact { grid-area: 1 / 2; }
  nav { grid-column: 1 / -1; gap: 1.45rem; }
  nav a { font-size: .88rem; }
  .hero { min-height: 36rem; align-items: end; }
  .hero-body { padding-block: 4rem 3.3rem; }
  .hero-image img { object-position: center; }
  .hero-shade { background: linear-gradient(0deg, #111d19ed, #111d19bd 43%, #111d191c 79%); }
  .hero-actions .button { padding-inline: 1rem; }
  .hero-credit { right: .65rem; bottom: .55rem; }
  h1 { font-size: clamp(4.15rem, 15.4vw, 6.35rem); }
  .section-head { display: grid; gap: .72rem; margin-bottom: 1.22rem; }
  .section-head p { max-width: none; padding: 0; }
  .project-grid, .about-inner { grid-template-columns: 1fr; }
  .footer-meta a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
