@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --ink: #172121;
  --muted: #65706d;
  --cream: #f7f5ef;
  --paper: #fffdf8;
  --teal: #157a6e;
  --teal-dark: #0f5a52;
  --coral: #e8876b;
  --line: #e3e3da;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
}

.site-nav {
  align-items: center;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 42px;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo { color: var(--ink); font-size: 1.35rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.logo span { color: var(--teal); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

.search-container {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  padding: 4px 5px 4px 15px;
}
.search-container input { background: transparent; border: 0; color: var(--ink); font: inherit; min-width: 190px; outline: 0; }
.search-container button { border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; padding: 9px 14px; }
#btnSearch { background: var(--teal); color: #fff; }
#btnSearch:hover { background: var(--teal-dark); }
#btnReset { background: transparent; color: var(--muted); }
#btnReset:hover { color: var(--ink); }

.container { margin: 0 auto; max-width: 1280px; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px); }
.hero-section { max-width: 720px; }
.eyebrow { color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 15px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.7rem); letter-spacing: -.07em; line-height: .98; margin-bottom: 25px; max-width: 800px; }
h1 em { color: var(--coral); font-family: 'Playfair Display', serif; font-weight: 600; }
.hero-section > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; line-height: 1.7; max-width: 590px; }
.btn-primary { background: var(--coral); border: 0; border-radius: 5px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 14px 20px; }
.btn-primary:hover { background: #d57055; transform: translateY(-1px); }
.btn-primary span { font-size: 1.2em; margin-left: 8px; }
.popular-searches { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.popular-searches > span, .social-links > span { color: var(--muted); font-size: .8rem; margin-right: 5px; }
.search-chip { background: transparent; border: 1px solid #c8d3ce; border-radius: 999px; color: var(--teal-dark); cursor: pointer; font: inherit; font-size: .8rem; padding: 7px 13px; }
.search-chip:hover { background: #e4f0eb; }
.social-links { align-items: center; display: flex; gap: 16px; margin-top: 62px; }
.social-links a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.social-links a:hover { color: var(--teal); }

.results-section { margin-top: 92px; }
.results-heading { align-items: end; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; }
.results-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.05em; margin: 0; }
.results-count { color: var(--muted); font-size: .85rem; margin: 0; }
.results-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.result-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.result-card:hover { box-shadow: 0 14px 30px rgba(23, 33, 33, .1); transform: translateY(-3px); }
.result-card img { display: block; height: 190px; object-fit: cover; width: 100%; }
.result-card-body { padding: 18px; }
.result-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.result-card-body p { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-bottom: 16px; }
.card-action { background: none; border: 0; color: var(--teal); cursor: pointer; font: inherit; font-size: .85rem; font-weight: 700; padding: 0; }
.empty-state { background: #eeeee7; border-radius: 8px; color: var(--muted); grid-column: 1 / -1; padding: 48px 20px; text-align: center; }
.empty-state h3 { color: var(--ink); margin-bottom: 7px; }
.empty-state p { margin: 0; }
.empty-icon { color: var(--coral); display: block; font-size: 1.7rem; margin-bottom: 12px; }

.page-content { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; margin: clamp(36px, 6vw, 80px) auto; max-width: 1080px; padding: clamp(28px, 6vw, 72px); width: calc(100% - 40px); }
.page-content h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); max-width: 760px; }
.page-content > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; max-width: 720px; }
.team-section { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 34px; }
.team-section h2 { font-size: 1.6rem; letter-spacing: -.04em; }
.team-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.team-card { background: #eef3ef; border-radius: 7px; padding: 22px; }
.team-card h3 { margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.team-card .role { color: var(--teal); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.contact-form { display: grid; gap: 17px; max-width: 620px; }
.contact-form label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 7px; }
.contact-form input, .contact-form textarea { background: #fafaf5; border: 1px solid #d5dad3; border-radius: 4px; color: var(--ink); font: inherit; padding: 13px; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); outline: 2px solid #cce5de; }
.form-status { color: var(--teal); font-size: .9rem; font-weight: 600; margin-top: 20px; }
.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.6; margin: 0 auto; max-width: 1280px; padding: 22px clamp(20px, 5vw, 72px) 28px; text-align: center; }

@media (max-width: 900px) {
  .site-nav { flex-wrap: wrap; gap: 16px 24px; }
  .nav-links { order: 3; width: 100%; }
  .search-container { margin-left: auto; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-nav { padding: 15px 20px; }
  .search-container { order: 4; width: 100%; }
  .search-container input { min-width: 0; width: 100%; }
  .hero-section { padding-top: 12px; }
  .social-links { margin-top: 40px; }
  .results-section { margin-top: 62px; }
  .results-grid, .team-grid { grid-template-columns: 1fr; }
  .results-heading { align-items: start; flex-direction: column; gap: 8px; }
}
