@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink:      #0D0D0B;
  --bg:       #F8F6F2;
  --surface:  #EFECEA;
  --surface2: #E6E2DC;
  --accent:   #D93B0E;
  --accent-h: #BC330C;
  --muted:    #7A7A72;
  --muted2:   #AEADA6;
  --border:   #D6D2CC;
  --white:    #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY ─── */
h1,h2,h3,h4 { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -2px; line-height: 1.05; }
h1 { font-size: clamp(40px, 5.5vw, 68px); }
h2 { font-size: clamp(28px, 3.5vw, 46px); }
h3 { font-size: clamp(18px, 2vw, 26px); letter-spacing: -1px; }
h4 { font-size: 17px; letter-spacing: -.4px; }
p  { line-height: 1.8; color: var(--muted); }

.label   { font-size: 10px; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.mono    { font-family: 'Courier New', monospace; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); }
.dot     { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.tag     {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(217,59,14,.08); border: 1px solid rgba(217,59,14,.2);
  padding: 4px 13px; border-radius: 20px;
  font-size: 10px; letter-spacing: 2px; font-weight: 700; color: var(--accent);
  margin-bottom: 1.1rem;
}

/* ─── LAYOUT ─── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2.5rem; }
.section   { padding: 5.5rem 0; }
.section-sm{ padding: 3.5rem 0; }
.section-dark    { background: var(--ink); }
.section-surface { background: var(--surface); }
hr.rule  { border: none; border-top: 2px solid var(--ink); }
hr.rule-light { border: none; border-top: 1px solid var(--border); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none;
  padding: 13px 26px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .2px; cursor: pointer;
  transition: background .18s;
}
.btn-primary:hover { background: var(--accent-h); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
  padding: 12px 26px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .18s;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent); border: none;
  padding: 13px 26px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 800; cursor: pointer; transition: opacity .18s;
}
.btn-white:hover { opacity: .9; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  padding: 12px 26px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .18s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); }

/* ─── NAVIGATION ─── */
nav {
  background: var(--ink); height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; position: sticky; top: 0; z-index: 200;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo-mark {
  width: 32px; height: 32px; background: var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-mark svg { display: block; }
.nav-logo-text { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: -.4px; color: var(--bg); white-space: nowrap; }
.nav-logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; position: relative; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > .nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(248,246,242,.42); padding: 0 14px; height: 62px;
  transition: color .18s; cursor: pointer; background: none; border: none;
  font-family: 'Inter', sans-serif;
}
.nav-links > li > a:hover,
.nav-links > li > .nav-dropdown-trigger:hover,
.nav-links > li > a.active { color: var(--bg); }
.nav-caret { font-size: 8px; opacity: .6; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: 62px; left: 0; min-width: 180px;
  background: var(--ink); border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid var(--accent); padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s; z-index: 300;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: .65rem 1.25rem;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: rgba(248,246,242,.55); transition: color .15s;
}
.nav-dropdown a:hover { color: var(--bg); }

.nav-cta-btn {
  background: var(--accent); color: #fff; border: none;
  padding: 9px 17px; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .2px; cursor: pointer;
  transition: background .18s; white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--accent-h); }

/* Mobile */
.nav-hamburger { display: none; background: none; border: none; color: var(--bg); cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: currentColor; }
.mobile-menu { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 2.5rem; flex-direction: column; gap: .25rem; z-index: 199; }
.mobile-menu a { font-size: 13px; font-weight: 600; letter-spacing: .5px; color: rgba(248,246,242,.55); padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--bg); }
.mobile-menu.open { display: flex; }

/* ─── FOOTER ─── */
footer { background: var(--ink); }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem; padding: 4rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-name { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 800; color: var(--bg); margin-bottom: .35rem; letter-spacing: -.4px; }
.footer-brand-sub  { font-size: 9px; letter-spacing: 1.5px; color: rgba(248,246,242,.25); margin-bottom: 1.25rem; text-transform: uppercase; }
.footer-brand-desc { font-size: 13px; line-height: 1.75; color: rgba(248,246,242,.38); max-width: 260px; }
.footer-col-title  { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(248,246,242,.28); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a   { font-size: 13px; color: rgba(248,246,242,.48); transition: color .18s; }
.footer-col ul a:hover { color: var(--bg); }
.footer-bottom { padding: 1.1rem 2.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom-copy { font-size: 11px; color: rgba(248,246,242,.25); }

/* ─── STAT BOX ─── */
.stat-strip { display: grid; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat-strip-item { padding: 1.75rem 2rem; border-right: 2px solid var(--ink); }
.stat-strip-item:last-child { border-right: none; }
.stat-num { font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: .3rem; }
.stat-unit { font-size: 16px; color: var(--accent); margin-left: 2px; }
.stat-desc { font-size: 12px; color: var(--muted); }

/* ─── CARDS ─── */
.card-border { border: 1.5px solid var(--ink); }
.card-surface { background: var(--white); border: 1.5px solid var(--border); padding: 2rem; }
.prop-photo {
  height: 200px; background: var(--surface2);
  border-bottom: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted2); font-size: 12px; overflow: hidden;
  position: relative;
}
.prop-photo img { width: 100%; height: 100%; object-fit: cover; }
.status-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .45rem 1rem; display: flex; justify-content: space-between; align-items: center;
  background: var(--ink);
}
.status-dot-green { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; display: inline-block; margin-right: 5px; }
.status-dot-amber { width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; display: inline-block; margin-right: 5px; }

/* ─── PAGE HERO ─── */
.page-hero { padding: 5rem 0 4.5rem; border-bottom: 2px solid var(--ink); }
.page-hero-dark { background: var(--ink); padding: 5rem 0 4.5rem; border-bottom: 2px solid var(--ink); }

/* ─── FORMS ─── */
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.form-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.form-input {
  background: var(--white); border: 1.5px solid var(--border); padding: 12px 15px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .18s; appearance: none; border-radius: 0;
}
.form-input:focus { border-color: var(--ink); }
textarea.form-input { min-height: 110px; resize: vertical; }
select.form-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A72' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ─── BLOG ─── */
.blog-card { border: 1.5px solid var(--border); background: var(--white); transition: border-color .18s; }
.blog-card:hover { border-color: var(--ink); }
.blog-card-body { padding: 1.5rem; }
.blog-tag { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; display: block; }
.blog-date { font-size: 11px; color: var(--muted2); }

/* ─── PROJECT CARD ─── */
.project-card { border: 1.5px solid var(--ink); display: grid; grid-template-columns: 280px 1fr; }
.project-photo { background: var(--surface2); display: flex; align-items: flex-end; min-height: 240px; padding: 1.5rem; position: relative; overflow: hidden; }
.project-info { padding: 2rem 2.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.project-specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.spec-pill { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 11px; background: var(--surface); color: var(--muted); }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── CASE STUDY ─── */
.cs-number { font-family: 'Inter', sans-serif; font-size: 80px; font-weight: 800; letter-spacing: -4px; line-height: 1; color: var(--surface2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1020px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta-btn { display: none !important; }
  .nav-hamburger { display: flex; }
  nav { position: relative; }
  .project-card { grid-template-columns: 1fr; }
  .project-photo { min-height: 200px; }
  /* ensure nav-logo-text doesn't overflow */
  .nav-logo-text { font-size: 13px; }
  nav { padding: 0 1.5rem; }
}
@media (max-width: 680px) {
  .container { padding: 0 1.25rem; }
  nav { padding: 0 1.25rem; }
  .nav-logo-text { font-size: 12px; letter-spacing: -.3px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.25rem; gap: 2rem; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { padding: 1rem 1.25rem; flex-direction: column; gap: .6rem; text-align: center; }
  .mobile-menu { padding: 1.25rem; }
}
@media (max-width: 380px) {
  .nav-logo-text { display: none; }
}
