:root {
  --charcoal: #282828;
  --charcoal-2: #343434;
  --yellow: #ffff3f;
  --paper: #fffff7;
  --muted: #b8b8b2;
  --line: rgba(255,255,247,.22);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 132px; filter: brightness(0) invert(1); }
.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 22px;
  cursor: pointer;
}

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.card { border-radius: var(--radius); overflow: hidden; }
.yellow-card { background: var(--yellow); color: var(--charcoal); }
.light-card { background: var(--paper); color: var(--charcoal); }

.hero {
  display: grid;
  grid-template-columns: 1.75fr .9fr;
  gap: 28px;
  align-items: stretch;
}
.hero-copy { padding: clamp(38px, 5vw, 72px); min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { font-size: clamp(46px, 5.4vw, 78px); line-height: .96; letter-spacing: -0.055em; margin: 0 0 30px; max-width: 760px; }
.hero-copy p { max-width: 720px; margin: 0; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.button-dark { background: var(--charcoal); color: var(--yellow); border: 1px solid var(--charcoal); }
.button-outline { border: 1px solid var(--charcoal); color: var(--charcoal); }

.dark-grid { position: relative; min-height: 460px; border: 1px solid rgba(255,255,247,.75); display: grid; place-items: center; }
.dark-grid .grid { position: absolute; width: 82%; opacity: .72; }
.dark-grid .nera-isometric { position: relative; width: 38%; max-height: 63%; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.stat { min-height: 150px; padding: 28px 32px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.stat strong { font-size: clamp(38px, 4vw, 58px); line-height: .9; letter-spacing: -.05em; }
.stat span { font-size: 14px; text-align: right; }

.ticket { margin-top: 28px; padding: clamp(40px, 5vw, 72px); }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.section-heading h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1; margin: 8px 0 18px; letter-spacing: -.04em; }
.section-heading p { margin: 0; }

.project-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; max-width: 940px; margin: 0 auto; }
.project-image { position: relative; min-height: 360px; overflow: hidden; border-radius: 24px; background: #9bdcf5; }
.project-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.badge { position: absolute; z-index: 2; top: 20px; left: 20px; background: var(--yellow); color: var(--charcoal); padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.project-copy h3 { font-size: clamp(36px, 4vw, 58px); line-height: 1; margin: 8px 0 18px; letter-spacing: -.045em; }
.project-data { margin: 28px 0; display: grid; gap: 10px; }
.project-data div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 9px; border-bottom: 1px solid rgba(40,40,40,.14); }
.project-data dt { font-weight: 700; }
.project-data dd { margin: 0; }

.process { padding-block: 110px 130px; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-item { min-height: 460px; padding: 34px 32px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-art { height: 230px; display: grid; place-items: center; margin-bottom: 24px; }
.process-art img { max-height: 220px; max-width: 88%; }
.process-item h3 { font-size: 24px; margin: 0 0 14px; }
.process-item h3 span { color: var(--yellow); }
.process-item p { color: #d1d1cb; font-size: 14px; margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy, .dark-grid { min-height: 390px; }
  .stats { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .site-header, .wrap { width: min(100% - 28px, var(--max)); }
  .site-header { min-height: 72px; }
  .brand img { width: 112px; }
  .hero { gap: 14px; }
  .hero-copy { min-height: 410px; padding: 34px 26px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .dark-grid { min-height: 340px; }
  .stat { min-height: 118px; }
  .ticket { padding: 40px 22px; }
  .project-image, .project-image img { min-height: 280px; }
  .project-data div { grid-template-columns: 1fr; gap: 2px; }
  .process { padding-block: 80px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-item { min-height: auto; }
}

/* Operation types */
.operation-types { padding-bottom: 120px; }
.operation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.operation-card {
  min-height: 510px;
  padding: 34px 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.operation-card-featured { transform: translateY(28px); }
.operation-art {
  height: 190px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
}
.operation-art img { max-width: 72%; max-height: 175px; }
.operation-card h3 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: .98;
  letter-spacing: -.045em;
}
.operation-card p { margin: 0 0 28px; font-size: 15px; }
.text-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

/* Team */
.team { padding: 48px 0 130px; }
.team-heading { max-width: 760px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.team-card {
  position: relative;
  min-height: 650px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card-raised { transform: translateY(-26px); }
.team-copy { padding: 32px 30px 0; position: relative; z-index: 2; }
.team-copy h3 {
  margin: 7px 0 18px;
  font-size: clamp(31px, 3vw, 44px);
  line-height: .96;
  letter-spacing: -.045em;
}
.team-copy p { margin: 0; font-size: 14px; }
.team-photo {
  position: relative;
  margin-top: auto;
  height: 330px;
  overflow: hidden;
}
.team-photo::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 0;
  width: 58%;
  height: 84%;
  border-radius: 24px 24px 0 0;
  background: var(--yellow);
}
.team-photo img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 900px) {
  .operation-grid, .team-grid { grid-template-columns: 1fr; }
  .operation-card-featured, .team-card-raised { transform: none; }
  .operation-card { min-height: 440px; }
  .team-card { min-height: 610px; }
}

@media (max-width: 600px) {
  .operation-types { padding-bottom: 80px; }
  .operation-card { min-height: 410px; padding: 28px 24px; }
  .operation-art { height: 155px; }
  .operation-art img { max-height: 145px; }
  .team { padding: 30px 0 90px; }
  .team-card { min-height: 590px; }
  .team-copy { padding: 28px 24px 0; }
  .team-photo { height: 300px; }
}

/* Completed operations */
.completed { padding: 20px 0 110px; }
.completed-heading { max-width: 760px; }
.completed-card {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  padding: 26px;
  align-items: center;
}
.completed-image {
  position: relative;
  min-height: 390px;
  border-radius: 22px;
  overflow: hidden;
  background: #8fd9ff;
  display: grid;
  place-items: end center;
}
.completed-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.badge-complete { background: #1f62ff; color: #fff; }
.completed-copy { padding: 20px 20px 20px 0; }
.completed-copy h3 {
  margin: 7px 0 18px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.045em;
}
.completed-copy p { margin: 0; }

/* Investment / project CTA */
.invest {
  margin-bottom: 110px;
  min-height: 330px;
  border-radius: var(--radius);
  background: #9ee6ff;
  color: var(--charcoal);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  overflow: hidden;
}
.invest-copy { padding: clamp(36px, 5vw, 68px); align-self: center; }
.invest-copy h2 {
  margin: 8px 0 18px;
  max-width: 700px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: -.05em;
}
.invest-copy p { max-width: 720px; margin: 0 0 28px; }
.invest-art { display: grid; place-items: center; padding: 32px 42px 0 0; }
.invest-art img { max-height: 300px; object-fit: contain; }

/* Contact */
.contact {
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 20px;
}
.contact-details, .contact-form-wrap { min-height: 560px; }
.contact-details { padding: clamp(34px, 4vw, 58px); }
.contact-details h2 {
  margin: 8px 0 20px;
  max-width: 520px;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: .98;
  letter-spacing: -.05em;
}
.contact-details > p { max-width: 560px; margin: 0 0 32px; }
.contact-details address { display: grid; gap: 12px; font-style: normal; }
.contact-details address a { text-decoration: none; font-weight: 700; }
.instagram-link { display: inline-block; margin-top: 28px; font-weight: 700; }
.contact-form-wrap { padding: clamp(34px, 4vw, 58px); }
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 18px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.contact-form label { font-weight: 700; font-size: 13px; }
.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(40,40,40,.38);
  background: transparent;
  color: var(--charcoal);
  padding: 11px 0 9px;
  border-radius: 0;
  font: inherit;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--charcoal); }
.form-note { margin: 0; font-size: 12px; color: #5a5a55; }
.form-note a { color: var(--charcoal); }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; }
.privacy-check input { margin-top: 3px; }
.form-submit { justify-self: start; border: 0; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 58px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr .7fr .9fr; gap: 70px; }
.footer-brand img { width: 160px; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer-brand p { max-width: 440px; color: #c9c9c3; font-size: 14px; margin: 0; }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 10px; font-size: 14px; }
.footer-nav strong, .footer-contact strong { margin-bottom: 8px; font-size: 17px; }
.footer-nav a, .footer-contact a { color: #d6d6d0; text-decoration: none; }
.footer-contact span { color: #d6d6d0; }
.footer-legal {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: #8e8e89;
  font-size: 12px;
}
.footer-legal a { color: inherit; }

@media (max-width: 900px) {
  .completed-card, .contact, .invest { grid-template-columns: 1fr; }
  .completed-copy { padding: 10px 10px 20px; }
  .invest-art { padding: 0 32px 28px; }
  .invest-art img { max-height: 250px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 46px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .completed { padding-bottom: 80px; }
  .completed-card { padding: 16px; gap: 22px; }
  .completed-image, .completed-image img { min-height: 290px; }
  .invest { margin-bottom: 80px; }
  .invest-copy { padding: 34px 24px; }
  .contact { padding-bottom: 80px; }
  .contact-details, .contact-form-wrap { min-height: auto; padding: 32px 24px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-legal { flex-direction: column; margin-top: 38px; gap: 8px; }
}

/* Project detail template */
.project-home { text-decoration: none; display:grid; place-items:center; font-weight:700; }
.project-hero-page { display:grid; grid-template-columns: .95fr 1.05fr; gap:28px; align-items:stretch; }
.project-title-block { min-height:520px; padding:clamp(38px,5vw,70px); display:flex; flex-direction:column; justify-content:space-between; color:var(--charcoal); }
.project-title-block h1 { margin:10px 0 0; font-size:clamp(62px,8vw,112px); line-height:.82; letter-spacing:-.065em; }
.project-intro { max-width:620px; font-size:18px; margin:42px 0 0; }
.status-pill { display:inline-flex; padding:7px 12px; border-radius:999px; font-size:12px; font-weight:700; margin-bottom:20px; }
.status-current { background:#ee7047; color:#fff; }
.project-hero-image { min-height:520px; background:#b8e7f5; }
.project-hero-image img { width:100%; height:100%; object-fit:cover; }
.project-summary { margin-top:28px; padding:clamp(38px,5vw,68px); display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.project-summary h2 { font-size:clamp(34px,4vw,56px); line-height:.98; letter-spacing:-.045em; margin:8px 0 24px; }
.project-summary p { max-width:650px; }
.project-facts { margin:0; display:grid; align-content:start; }
.project-facts div { display:grid; grid-template-columns:140px 1fr; gap:20px; padding:16px 0; border-bottom:1px solid rgba(40,40,40,.16); }
.project-facts dt { font-weight:700; }
.project-facts dd { margin:0; }
.project-gallery-section { padding:110px 0 120px; }
.project-gallery { display:grid; grid-template-columns:1.15fr .85fr; gap:20px; }
.project-gallery figure { margin:0; min-height:360px; border-radius:var(--radius); overflow:hidden; background:var(--paper); }
.project-gallery .gallery-wide { grid-row:span 2; min-height:740px; }
.project-gallery img { width:100%; height:100%; object-fit:cover; }
.project-gallery .gallery-dark { background:var(--charcoal-2); border:1px solid var(--line); display:grid; place-items:center; }
.project-gallery .gallery-dark img { width:45%; height:auto; object-fit:contain; }
.project-bottom-cta { margin-bottom:100px; padding:clamp(36px,5vw,62px); display:flex; align-items:center; justify-content:space-between; gap:32px; color:var(--charcoal); }
.project-bottom-cta h2 { margin:7px 0 0; max-width:720px; font-size:clamp(34px,4vw,54px); line-height:1; letter-spacing:-.04em; }
.project-footer { border-top:1px solid var(--line); padding:70px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.3fr .7fr 1fr; gap:50px; }
.footer-grid > div { display:flex; flex-direction:column; gap:9px; }
.footer-grid a { text-decoration:none; color:#d1d1cb; }
.footer-grid span,.footer-grid p { color:#d1d1cb; margin:0; }
.footer-logo { width:145px; filter:brightness(0) invert(1); margin-bottom:12px; }
.legal-line { margin-top:48px; padding-top:20px; border-top:1px solid var(--line); color:#8d8d88; font-size:12px; }
@media (max-width:900px) {
  .project-hero-page,.project-summary { grid-template-columns:1fr; }
  .project-title-block,.project-hero-image { min-height:430px; }
  .project-gallery { grid-template-columns:1fr; }
  .project-gallery .gallery-wide { grid-row:auto; min-height:480px; }
  .project-bottom-cta { align-items:flex-start; flex-direction:column; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:600px) {
  .project-title-block { min-height:420px; padding:34px 26px; }
  .project-title-block h1 { font-size:64px; }
  .project-hero-image { min-height:300px; }
  .project-summary { padding:38px 24px; gap:34px; }
  .project-facts div { grid-template-columns:1fr; gap:3px; }
  .project-gallery-section { padding:80px 0; }
  .project-gallery figure,.project-gallery .gallery-wide { min-height:300px; }
  .footer-grid { grid-template-columns:1fr; }
}

/* Completed project variant */
.status-complete { background:#1f62ff; color:#fff; }
.project-hero-cutout {
  background:#9ee6ff;
  display:grid;
  place-items:end center;
  overflow:hidden;
  padding:32px 34px 0;
}
.project-hero-cutout img {
  width:min(96%,780px);
  height:auto;
  max-height:500px;
  object-fit:contain;
  object-position:center bottom;
}
.project-gallery-flexible { align-items:stretch; }
.project-gallery-flexible .gallery-building {
  background:#9ee6ff;
  display:grid;
  place-items:end center;
  padding:34px 34px 0;
}
.project-gallery-flexible .gallery-building img {
  object-fit:contain;
  object-position:center bottom;
}
@media (max-width:600px) {
  .project-hero-cutout { padding:24px 20px 0; }
  .project-gallery-flexible .gallery-building { padding:24px 20px 0; }
}
