:root {
  --color-text: #1a1514;
  --color-accent: #65574e;
  --color-muted: #958d86;
  --color-bg: #ffffff;
  --color-bg-alt: #e1dfdb;
  --color-border: #d6d2ce;
  --font-heading: "Cardo", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--color-text);
  background: #fbfbfb;
  line-height: 1.55;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 2.65rem; }
h3 { font-size: 1.5rem; }
a { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 720px; }

/* Contact form (static frame) */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.95rem; color: var(--color-accent); }
.contact-form .field-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--color-text);
  padding: 0.7rem 0.9rem; border: 1px solid var(--color-border); border-radius: 4px;
  background: #ffffff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-muted); outline-offset: 1px; }
.form-consent { font-size: 0.85rem; color: var(--color-muted); }
.hidden-field { position: absolute; left: -9999px; }

/* About page */
.lead { font-size: 1.3rem; max-width: 760px; margin: 1rem auto 0; }
.team-lead { display: flex; gap: 1.5rem; align-items: center; margin-top: 1.5rem; }
.team-lead .avatar {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 2rem;
}
.team-lead .role { color: var(--color-muted); margin: 0.25rem 0 0.75rem; }
.muted { color: var(--color-muted); margin-top: 1.5rem; }
.contact-form .btn { align-self: flex-start; cursor: pointer; border: 0; }

/* Featured Projects placeholder grid */
.project-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.project-card { border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; padding-bottom: 1.25rem; }
.project-thumb { aspect-ratio: 4 / 3; background: var(--color-bg-alt); }
.project-card h3 { margin: 1rem 1.25rem 0.4rem; }
.project-card p { margin: 0 1.25rem; color: var(--color-muted); }

/* Header — dark bar; the logo is white line-art so it needs a dark background */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1rem 2rem; background: var(--color-text);
}
.site-header .logo img { height: 72px; width: auto; }
.site-nav { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: #fefefe; font-size: 1.2rem; font-weight: 300; }
.site-nav a:hover { color: var(--color-muted); }

/* Footer */
.site-footer {
  margin-top: 4rem; padding: 2rem 1.5rem; background: var(--color-bg-alt);
  color: var(--color-accent); text-align: center;
}
.site-footer a { color: var(--color-accent); margin: 0 0.5rem; }

/* Layout helpers */
main section { padding: 3rem 0; }
.hero { text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { border: 1px solid var(--color-border); padding: 1.5rem; border-radius: 4px; }
.card .num { font-family: var(--font-heading); font-size: 2rem; color: var(--color-muted); }
.team-member { text-align: center; }
.team-member img { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; margin: 0 auto 1rem; }
.team-member .social a { margin: 0 0.4rem; font-size: 0.85rem; }
.contact-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* <picture> wrappers must behave as the block-level item the bare <img> was,
   otherwise inline layout reintroduces baseline gaps inside the grids. */
picture { display: block; }

/* Full-width banner image (no text overlay) */
.banner { padding: 0; }
.banner img { width: 100%; height: clamp(240px, 22vw, 380px); object-fit: cover; object-position: center 66%; display: block; }

/* Gallery row — three greyscale images below the banner (colour on hover) */
.gallery-row { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 1.5rem 0; }
.gallery-row img {
  width: 100%; height: 340px; object-fit: cover; border-radius: 4px;
  filter: grayscale(1); transition: filter 0.3s ease;
}
.gallery-row img:hover { filter: grayscale(0); }

/* Centred headline block ("Crafted Structures, Just for You") */
.headline { text-align: center; max-width: 960px; margin: 0 auto; }
.headline h1 { font-size: 2.65rem; margin: 0 0 1.5rem; }
.headline h1 em { font-style: italic; }
.headline p { font-size: 1.2rem; margin: 0.5rem auto; }

/* Details band — dark two-column: text + button (left), two images (right) */
.details-band { background: var(--color-text); color: #ffffff; }
.details-band h2 { color: var(--color-bg-alt); }
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.split-images { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.split-images img { border-radius: 4px; object-fit: cover; width: 100%; height: 320px; }
.btn {
  display: inline-block; margin-top: 1.25rem; padding: 0.7rem 1.6rem;
  background: var(--color-bg-alt); color: var(--color-text);
  text-decoration: none; border-radius: 999px; font-size: 0.95rem;
}
.btn:hover { background: #ffffff; }

/* Section label (small caps eyebrow) */
.section-label { text-align: center; font-family: var(--font-heading); font-size: 2rem; letter-spacing: 3px; text-transform: uppercase; color: var(--color-text); margin-bottom: 2.5rem; }

/* Testimonials */
.testimonial { border-radius: 4px; padding: 1.75rem 2rem; background: #eae7e2; }
.testimonial h3 { margin-top: 0; }
.testimonial .stars { color: var(--color-accent); letter-spacing: 0.1em; }
.testimonial .attribution { font-weight: 600; margin-bottom: 0; }
.testimonial .attribution + p { margin-top: 0; color: var(--color-muted); font-size: 0.9rem; }

/* Contact ("Get in touch.") — top rule, then a row: intro left, columns right */
.contact { border-top: 1px solid var(--color-border); padding-top: 3rem; display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-start; }
.contact-icon { color: var(--color-accent); margin: 0 0 1rem; }
.contact-intro { flex: 1 1 280px; }
.contact-intro h2 { margin: 0 0 0.5rem; }
.contact .contact-cols { flex: 2 1 420px; margin: 0; }
