/* The Yellow Stones — shared styles */

:root {
  --yellow: #FFCB08;
  --blue: #6EC1E4;
  --dark: #54595F;
  --text: #7A7A7A;
  --ink: #1E2124;
  --bg: #FFFFFF;
  --bg-alt: #F7F8F9;
  --border: #E7E8EA;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(30, 33, 36, 0.08);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }

a { color: var(--dark); text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--dark);
  border-bottom-color: var(--yellow);
}

.main-nav a.nav-cta {
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  border-bottom: none;
  font-weight: 700;
}

.main-nav a.nav-cta:hover { filter: brightness(0.95); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #FFF9E5 0%, #FFFFFF 60%);
  padding: 80px 0 64px;
}

.hero-inner { text-align: left; max-width: 720px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-grid .hero-inner { max-width: none; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  background: rgba(255, 203, 8, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.accent { color: var(--yellow); -webkit-text-stroke: 0.5px var(--ink); }

.lede { font-size: 18px; max-width: 560px; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.96); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--dark); }

.btn-arrow { transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 56px 0; }
section.bg-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.card .num {
  display: block;
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 12px;
}

.card h3 { margin-bottom: 10px; }

.card-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 16px;
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Split content + image sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-text .eyebrow { margin-bottom: 18px; }

.img-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}
.img-collage img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.img-collage .tall { aspect-ratio: 3/4; }
.img-collage .short { aspect-ratio: 4/3; }

.service-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.card-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #D6D9DC;
}
.card-dark h3 { color: #fff; }

/* Stat strip */
.stat-strip { background: var(--ink); color: #fff; }
.stat { text-align: center; }
.stat .num {
  font-family: 'Roboto Slab', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--yellow);
}
.stat .label { font-size: 14px; color: #C7CBCF; margin-top: 6px; }

/* Team */
.team-card { text-align: center; }
.team-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--yellow);
  margin: 0 auto 16px;
  overflow: hidden;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { font-size: 14px; color: var(--dark); font-weight: 600; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7CBCF; max-width: 520px; margin: 0 auto 8px; }

/* Services list */
.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.service-row h3 { margin-top: 8px; }
.service-tagline { font-style: italic; color: var(--dark); margin-bottom: 12px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info .item { margin-bottom: 24px; }
.contact-info .h { font-weight: 700; color: var(--ink); margin-bottom: 4px; }

form.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { justify-self: start; border: none; cursor: pointer; }

/* Blog */
.post-list { display: grid; gap: 28px; }
.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  align-items: center;
}
.post-card .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border-radius: 8px;
}
.post-card .date { font-size: 13px; color: var(--dark); font-weight: 600; }
.post-card h3 { margin: 6px 0 8px; }

.post-body { max-width: 720px; margin: 0 auto; }
.post-body img { border-radius: var(--radius); margin: 24px 0; }
.post-meta { font-size: 14px; color: var(--dark); margin-bottom: 24px; }

/* Footer */
footer {
  background: var(--ink);
  color: #C7CBCF;
  padding: 56px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); }
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col .h {
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  color: #C7CBCF;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 14px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .hero-grid, .split, .img-collage { grid-template-columns: 1fr; }
  .hero-grid .hero-media { order: -1; }
}
