:root {
  --ink: #182019;
  --forest: #26382b;
  --moss: #7f8d73;
  --clay: #a64f37;
  --cream: #f3efe6;
  --paper: #fbf9f4;
  --line: rgba(24, 32, 25, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4vw;
  color: white;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-family: var(--serif); font-size: 20px; font-style: italic; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { transition: opacity .2s ease; }
.site-nav a:hover { opacity: .65; }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.65); }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  color: white;
  overflow: hidden;
}
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; animation: reveal 1.3s ease both; }
.hero-shade { background: linear-gradient(90deg, rgba(12,18,14,.64) 0%, rgba(12,18,14,.22) 56%, rgba(12,18,14,.12) 100%), linear-gradient(0deg, rgba(8,12,9,.38), transparent 50%); }
.hero-content { position: absolute; z-index: 2; left: 7vw; top: 50%; max-width: 760px; transform: translateY(-43%); }
.eyebrow { margin: 0 0 22px; color: var(--clay); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.78); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .94; }
h1 { font-size: clamp(70px, 8.7vw, 138px); }
h1 em, .contact h2 em { color: #d69b7d; font-weight: 400; }
.hero-copy { max-width: 590px; margin: 30px 0 38px; color: rgba(255,255,255,.86); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: white; }
.button-light:hover { background: var(--cream); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.light-link { color: white; }
.hero-location { position: absolute; z-index: 2; right: 4vw; bottom: 7vh; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; }
.location-line { display: block; width: 48px; height: 1px; background: rgba(255,255,255,.55); }
.scroll-cue { position: absolute; z-index: 2; left: 4vw; bottom: 5vh; display: flex; gap: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }

.section-pad { padding: 120px max(5vw, 28px); }
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .7fr); gap: 10vw; align-items: end; background: var(--cream); }
.intro h2, .section-heading h2, .featured-copy h2, .about h2 { font-size: clamp(50px, 6vw, 92px); }
.intro-copy { padding-bottom: 6px; color: #596059; font-size: 17px; }
.intro-copy p + p { margin-top: 22px; }

.work-section { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading > p { max-width: 310px; margin: 0 0 8px; color: #687068; font-size: 14px; }
.filter-bar { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)) auto; gap: 12px; margin: 55px 0 40px; padding: 18px; border: 1px solid var(--line); background: white; }
.filter-bar label span { display: block; margin: 0 0 7px 2px; color: #697168; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.filter-bar select { width: 100%; height: 46px; padding: 0 36px 0 13px; color: var(--ink); border: 0; border-radius: 0; outline: 1px solid rgba(24,32,25,.13); background: #f8f6f0; }
.filter-bar select:focus { outline: 2px solid var(--moss); }
.filter-bar select:disabled { opacity: .45; }
.clear-filter { align-self: end; height: 46px; padding: 0 20px; border: 0; background: var(--forest); color: white; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card { position: relative; grid-column: span 4; min-height: 445px; overflow: hidden; background: var(--forest); color: white; cursor: pointer; animation: cardIn .45s ease both; }
.project-card:nth-child(1), .project-card:nth-child(5) { grid-column: span 8; }
.project-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.project-card:hover img { transform: scale(1.035); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,14,10,.75), transparent 64%); }
.project-card.placeholder::before { content: ""; position: absolute; inset: 0; opacity: .34; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.22), transparent 28%), linear-gradient(135deg, #7d8a79, #283b2c); }
.project-card[data-country="Italy"].placeholder::before { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.25), transparent 25%), linear-gradient(140deg, #a96b4a, #4a5743); }
.project-card[data-country="US Virgin Islands"].placeholder::before { background: radial-gradient(circle at 68% 20%, rgba(255,255,255,.28), transparent 25%), linear-gradient(140deg, #79aeb1, #244f50); }
.project-card-content { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; }
.project-card .status { position: absolute; z-index: 2; top: 22px; right: 22px; padding: 7px 10px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-card h3 { margin: 5px 0 3px; font-family: var(--serif); font-size: clamp(31px, 3vw, 45px); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.project-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.project-number { color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .15em; }
.project-count { margin: 24px 0 0; color: #737a73; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }

.featured-project { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; background: var(--cream); }
.featured-copy { position: sticky; top: 45px; align-self: start; padding-top: 20px; }
.featured-lede { max-width: 390px; margin: 30px 0 45px; color: #596159; font-size: 17px; }
.project-meta { margin: 0; border-top: 1px solid var(--line); }
.project-meta div { display: grid; grid-template-columns: 105px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); }
.project-meta dt { color: #767d75; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-meta dd { margin: 0; font-size: 12px; }
.featured-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 350px 350px; gap: 14px; }
.gallery-image { padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.gallery-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-image:hover img { transform: scale(1.02); }
.gallery-wide { grid-column: 1 / -1; height: 560px; }
.gallery-tall { grid-row: span 2; }
.gallery-tall img { object-position: center 60%; }
.gallery-small img { object-position: center; }

.services { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; color: white; background: var(--forest); }
.services-heading { position: sticky; top: 70px; align-self: start; }
.services h2 { font-size: clamp(56px, 6.3vw, 96px); }
.service-list { border-top: 1px solid rgba(255,255,255,.18); }
.service-list article { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.service-list article > span { color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .12em; }
.service-list h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.service-list p { max-width: 560px; margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }

.about { position: relative; display: grid; grid-template-columns: .55fr 1fr .6fr; gap: 6vw; align-items: center; overflow: hidden; }
.about-number { color: var(--cream); font-family: var(--serif); font-size: clamp(240px, 35vw, 560px); line-height: .7; }
.about-copy { position: relative; z-index: 1; }
.about-copy > p:not(.eyebrow) { margin: 30px 0 38px; color: #5e665e; font-size: 17px; }
.about-stat { align-self: end; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.about-stat span { color: #767e76; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.about-stat p { margin: 8px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.25; }

.contact { color: white; background: var(--clay); text-align: center; }
.contact .eyebrow { color: rgba(255,255,255,.7); }
.contact h2 { font-size: clamp(58px, 8vw, 124px); }
.contact h2 em { color: #f4d1bc; }
.contact-actions { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 50px 0 85px; }
.social-link { padding-bottom: 5px; border-bottom: 1px solid white; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-footer { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.73); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.contact-footer p { margin: 0; }
.footer { display: flex; justify-content: space-between; padding: 22px 5vw; color: #80867f; background: #111611; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }

.lightbox { width: min(92vw, 1100px); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(9,12,9,.91); backdrop-filter: blur(4px); }
.lightbox img { max-height: 86vh; object-fit: contain; }
.lightbox button { position: fixed; top: 20px; right: 28px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; background: transparent; font-size: 27px; cursor: pointer; }

@keyframes reveal { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .section-pad { padding: 90px 6vw; }
  .brand { position: relative; z-index: 3; }
  .site-nav { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: center; color: white; background: var(--forest); font-size: 16px; }
  .site-nav.open { display: flex; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 7px; width: 42px; height: 42px; padding: 11px 8px; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: white; }
  .intro, .featured-project, .services { grid-template-columns: 1fr; }
  .featured-copy, .services-heading { position: static; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .clear-filter { grid-column: 1 / -1; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(5) { grid-column: span 6; }
  .about { grid-template-columns: .5fr 1fr; }
  .about-stat { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { padding: 18px 20px; }
  .brand { font-size: 11px; }
  .hero { min-height: 700px; height: 92svh; }
  .hero-content { left: 24px; right: 24px; top: 48%; transform: translateY(-40%); }
  h1 { font-size: clamp(57px, 18vw, 82px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-location { display: none; }
  .scroll-cue { left: auto; right: 22px; bottom: 28px; }
  .section-pad { padding: 72px 22px; }
  .intro { gap: 38px; }
  .intro h2, .section-heading h2, .featured-copy h2, .about h2 { font-size: 49px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .filter-bar { grid-template-columns: 1fr; margin-top: 35px; }
  .clear-filter { grid-column: auto; }
  .project-grid { display: block; }
  .project-card { min-height: 430px; margin-bottom: 14px; }
  .featured-gallery { grid-template-rows: auto 280px 280px; }
  .gallery-wide { height: 300px; }
  .services { gap: 55px; }
  .service-list h3 { font-size: 25px; }
  .about { display: block; }
  .about-number { position: absolute; top: 55px; right: -20px; opacity: .8; }
  .about-copy { padding-top: 80px; }
  .about-stat { margin-top: 55px; }
  .contact h2 { font-size: 55px; }
  .contact-actions, .contact-footer, .footer { align-items: center; flex-direction: column; gap: 18px; text-align: center; }
  .contact-actions { margin-bottom: 60px; }
}

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