:root {
  --bg: #f7f4ee;
  --sand: #e9decb;
  --surface: rgba(255,255,255,0.72);
  --text: #1f2a30;
  --muted: #6c7a80;
  --accent: #b88952;
  --accent-dark: #8f6739;
  --border: rgba(31,42,48,0.08);
  --shadow: 0 20px 60px rgba(31, 42, 48, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfaf6 0%, #f4efe6 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 238, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  min-height: 94px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand-mark, .footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700; letter-spacing: 0.06em;
}
.brand-text { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav a { color: var(--muted); font-weight: 500; }
nav a.active, nav a:hover { color: var(--text); }
.hero {
  position: relative; min-height: 84vh; display: grid; place-items: center;
  background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
}
.hero-home { background-image: url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1800&q=80'); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,31,39,0.40), rgba(19,31,39,0.58));
}
.hero-content { position: relative; z-index: 1; color: #fff; padding: 120px 0 90px; }
.eyebrow {
  margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; color: inherit; opacity: 0.9;
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 16px;
  line-height: 0.95;
}
h1 { font-size: clamp(3.1rem, 7vw, 6.4rem); max-width: 780px; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: 2rem; }
p { line-height: 1.7; color: var(--text); }
.hero-copy { font-size: 1.08rem; max-width: 680px; color: rgba(255,255,255,0.88); }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; transition: 0.25s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.28); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.18); }
.section { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(233,222,203,0.4)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-heading { margin-bottom: 34px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.project-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
}
.project-card {
  position: relative; min-height: 350px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow);
}
.project-card::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.58));
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.4s ease;
}
.project-card:hover img { transform: scale(1.07); filter: saturate(1.03); }
.project-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; color: #fff;
}
.project-overlay h3 { margin-bottom: 0; font-size: 2.25rem; }
.project-tag {
  display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.page-hero { padding: 92px 0 32px; }
.prose p + p { margin-top: 16px; }
.card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.55); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.text-link { color: var(--accent-dark); font-weight: 600; }
.site-footer {
  padding: 34px 0; border-top: 1px solid var(--border); background: rgba(255,255,255,0.3);
}
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
@media (max-width: 980px) {
  .project-grid, .two-col, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 32px, 1180px); }
  .nav-wrap, .split-heading, .footer-wrap { flex-direction: column; align-items: flex-start; }
  nav { gap: 16px; }
  .project-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .project-card { min-height: 290px; }
}
