:root {
  --ink: #f4efe4;
  --muted: #c8bdab;
  --subtle: #9b927f;
  --charcoal: #101312;
  --charcoal-2: #171b18;
  --forest: #21372f;
  --forest-2: #10251f;
  --moss: #7f8f69;
  --ochre: #d2a85d;
  --sand: #e6dcc8;
  --line: rgba(244, 239, 228, .13);
  --shadow: 0 28px 80px rgba(0,0,0,.38);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 0%, rgba(127,143,105,.18), transparent 34rem), var(--charcoal);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(10,12,11,.86), rgba(10,12,11,.28), transparent);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.65rem; height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244,239,228,.08);
  color: var(--ochre);
}
.brand strong { display: block; font-size: .98rem; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: -.1rem; }
nav { display: flex; align-items: center; gap: clamp(.65rem, 2.6vw, 1.6rem); color: var(--muted); font-size: .9rem; }
nav a:hover { color: var(--ink); }
.nav-cta { color: var(--charcoal); background: var(--sand); padding: .7rem 1rem; border-radius: 999px; font-weight: 700; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero img { object-position: center; filter: saturate(.86) contrast(1.08); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,15,14,.96) 0%, rgba(12,15,14,.76) 48%, rgba(12,15,14,.34)), linear-gradient(0deg, var(--charcoal) 0%, transparent 42%); }
.hero-content { position: relative; z-index: 1; width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 9rem 0 5rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--ochre); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(3.15rem, 8.2vw, 6.85rem); line-height: .9; letter-spacing: -.075em; max-width: 860px; margin-bottom: 1.35rem; }
h2 { font-size: clamp(2rem, 4vw, 4.2rem); line-height: .95; letter-spacing: -.06em; margin-bottom: 1rem; }
h3 { font-size: 1.12rem; line-height: 1.15; letter-spacing: -.03em; margin-bottom: .55rem; }
.hero-copy { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.75rem 0 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .95rem 1.25rem; border-radius: 999px; font-weight: 800; border: 1px solid var(--line); }
.button.primary { color: #12120e; background: var(--ochre); border-color: transparent; box-shadow: 0 15px 40px rgba(210,168,93,.22); }
.button.ghost { color: var(--ink); background: rgba(244,239,228,.08); }
.button.wide { width: 100%; }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; max-width: 750px; margin: 0; }
.trust-strip div { padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,12,11,.45); }
dt { font-weight: 900; color: var(--ink); } dd { margin: .12rem 0 0; color: var(--muted); font-size: .9rem; }

.section-pad { padding: clamp(3.5rem, 7.5vw, 6.75rem) clamp(1rem, 4vw, 3rem); width: min(1180px, 100%); margin: 0 auto; }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.intro p:last-child { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.55rem); }
.section-heading { max-width: 780px; margin-bottom: 1.6rem; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: end; }
.section-heading.split > p { color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.service-grid article, .timeline article, .contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(244,239,228,.08), rgba(244,239,228,.035));
  padding: 1.35rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.15);
}
.service-grid span, .timeline span { color: var(--ochre); font-weight: 900; font-size: .82rem; }
.service-grid p, .timeline p, .story-copy p, .project-feature p, .contact-card p { color: var(--muted); }

.projects { width: min(1280px, 100%); }
.project-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 1rem; align-items: stretch; margin-bottom: 1rem; }
.project-feature img { min-height: 500px; border-radius: var(--radius); box-shadow: var(--shadow); object-position: center 35%; }
.project-feature > div { padding: clamp(1.5rem, 4vw, 3rem); background: var(--forest-2); border: 1px solid var(--line); border-radius: var(--radius); }
ul { padding-left: 1.1rem; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 1rem; }
figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #000; border: 1px solid var(--line); }
figure.tall { grid-row: span 2; }
figure img { filter: saturate(.9) contrast(1.04); transition: transform .45s ease; }
figure:hover img { transform: scale(1.045); }
figcaption { position: absolute; left: .85rem; right: .85rem; bottom: .85rem; padding: .8rem .95rem; border-radius: 16px; background: rgba(9,11,10,.72); color: var(--ink); font-weight: 800; backdrop-filter: blur(10px); }

.story { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(1.2rem, 5vw, 4rem); align-items: center; }
.story-image { min-height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-copy { max-width: 650px; }
.process { background: linear-gradient(180deg, transparent, rgba(33,55,47,.28), transparent); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.education { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; }
.guide-list { display: grid; gap: .8rem; }
.guide-list a { padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(244,239,228,.05); font-weight: 800; }
.guide-list a:after { content: " →"; color: var(--ochre); }
.cta { display: grid; grid-template-columns: 1fr 410px; gap: 2rem; align-items: center; }
.cta h2 { max-width: 700px; }
.cta > div:first-child p:last-child { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.fine-print { margin: .85rem 0 0; color: var(--subtle) !important; font-size: .82rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1rem, 4vw, 3rem); color: var(--subtle); border-top: 1px solid var(--line); }
footer p { margin: 0; }

@media (max-width: 920px) {
  nav a:not(.nav-cta) { display: none; }
  .intro, .section-heading.split, .project-feature, .story, .education, .cta { grid-template-columns: 1fr; }
  .service-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .project-feature img { min-height: 420px; }
}
@media (max-width: 620px) {
  .site-header { align-items: center; padding: .75rem .8rem; gap: .5rem; }
  .brand { min-width: 0; gap: .55rem; }
  .brand-mark { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; }
  .brand strong { font-size: .84rem; max-width: 12.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand small { display: none; }
  nav { flex: 0 0 auto; }
  .nav-cta { padding: .58rem .72rem; font-size: .82rem; }
  .hero-content { width: calc(100% - 1.5rem); max-width: 358px; margin-left: auto; margin-right: auto; padding: 7rem 0 2.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; max-width: 100%; min-width: 0; text-align: center; }
  .trust-strip, .service-grid, .timeline { grid-template-columns: 1fr; }
  .section-pad { padding: 3.35rem .85rem; }
  .section-heading { margin-bottom: 1.25rem; }
  .project-feature { gap: .8rem; margin-bottom: .8rem; }
  .project-feature img { min-height: 340px; }
  .project-feature > div, .service-grid article, .timeline article, .contact-card { padding: 1.1rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; gap: .8rem; }
  .story-image { min-height: 320px; }
  figure.tall { grid-row: span 1; }
  h1 { font-size: clamp(2.35rem, 10.8vw, 2.95rem); line-height: 1; letter-spacing: -.035em; max-width: 10.8ch; overflow-wrap: normal; }
  .hero-copy { max-width: 100%; font-size: 1.04rem; }
  .button { padding: .85rem 1rem; }
  h2 { font-size: clamp(1.8rem, 10vw, 2.65rem); letter-spacing: -.045em; }
  footer { flex-direction: column; }
}
