@import url('https://fonts.googleapis.com/css2?family=Young+Serif&family=Nunito:wght@400;600;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown: #6B4423;
  --mustard: #E9B949;
  --bone: #FAF6ED;
  --brick: #8D3B2E;
  --text: #2a1a0e;
  --muted: #7a5c42;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bone);
  color: var(--text);
  line-height: 1.65;
}

/* NOISE TEXTURE */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* NAV */
nav {
  background: var(--brown);
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--mustard);
}

.nav-logo {
  font-family: 'Young Serif', serif;
  font-size: 1.1rem;
  color: var(--bone);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-cta {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brown);
  background: var(--mustard);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-cta:hover { background: #f5c856; }

/* HERO */
.hero {
  background: var(--bone);
  padding: 5rem 2rem 4rem;
  border-bottom: 2px solid #e0d8c8;
  position: relative;
}

/* SVG squiggle underline on headline */
.hero-inner { max-width: 1100px; margin: 0 auto; }

.hero-tag {
  display: inline-block;
  background: var(--mustard);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Young Serif', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-squiggle {
  display: block;
  margin: 0.25rem 0 1.5rem;
  width: 120px;
  height: 12px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--brown);
  color: var(--bone);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--brick); }

/* SHARED */
.page-section { padding: 4.5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--mustard);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: 'Young Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* SERVICES */
.services-section { background: var(--brown); }
.services-section .section-heading { color: var(--bone); }

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #7d5230;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  position: relative;
}

.svc-arrow {
  display: block;
  margin-bottom: 1rem;
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: 'Young Serif', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--mustard);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: #c8a882;
  line-height: 1.65;
}

/* CLIENTS */
.clients-section { background: var(--bone); border-top: 2px solid #e0d8c8; border-bottom: 2px solid #e0d8c8; }

.clients-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.client-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(107,68,35,0.1);
  border: 1px solid #e0d8c8;
}

.client-card h4 {
  font-family: 'Young Serif', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.client-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ABOUT */
.about-section { background: white; border-top: 2px solid #e0d8c8; }

.about-text {
  font-size: 0.975rem;
  color: #3a2a1a;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-divider { border: none; border-top: 1px solid #e0d8c8; margin: 2.5rem 0; }

.team-card {
  background: var(--bone);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid #e0d8c8;
  max-width: 520px;
}

.team-name {
  font-family: 'Young Serif', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brick);
  margin-bottom: 0.75rem;
}

.team-bio { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* CONTACT */
.contact-section { background: var(--bone); border-top: 2px solid #e0d8c8; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-blurb {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-meta { margin-top: 1.5rem; }
.meta-row { margin-bottom: 0.75rem; }
.meta-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brown); display: block; margin-bottom: 0.15rem; }
.meta-val { font-size: 0.9rem; color: #444; }
.meta-val a { color: var(--brick); text-decoration: none; }
.meta-val a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }

.contact-form input,
.contact-form textarea {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d4c8b4;
  border-radius: 8px;
  background: white;
  color: var(--text);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brown); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #b0a090; }
.contact-form textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--brown);
  color: var(--bone);
  border: none;
  border-radius: 8px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--brick); }

/* FOOTER */
footer {
  background: var(--brown);
  border-top: 3px solid var(--mustard);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Young Serif', serif;
  font-size: 1rem;
  color: var(--bone);
}

.footer-address { font-size: 0.75rem; color: #c8a882; line-height: 1.5; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.75rem; font-weight: 600; color: #c8a882; text-decoration: none; letter-spacing: 0.05em; }
.footer-links a:hover { color: var(--mustard); }

.footer-copy { font-size: 0.72rem; color: #9a7a58; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 375px) {
  nav { padding: 0.9rem 1rem; }
  .page-section { padding: 3rem 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
}
