/* The Gregarious Goose — site styles */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --color-dark: #171717;
  --color-teal: #084B58;
  --color-green: #239A6A;
  --color-muted: #555555;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f5;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --nav-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a { color: var(--color-green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--color-teal); }

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--color-dark);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  color: var(--color-dark);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-green);
  border-bottom-color: var(--color-green);
  text-decoration: none;
}

/* Main */
main { flex: 1; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.page-header {
  background: var(--color-teal);
  color: #fff;
  padding: 3rem 1.25rem;
  text-align: center;
}
.page-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.page-header p {
  margin: 0.75rem 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--color-teal);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
  max-width: 800px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.hero p {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.04em;
}

/* Content sections */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--color-bg-alt); }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}
.section__inner--reverse { flex-direction: row-reverse; }

.section__text { flex: 1 1 280px; }
.section__text h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-teal);
  letter-spacing: 0.03em;
}
.section__text p { margin: 0 0 1rem; color: var(--color-muted); }
.section__text .link-arrow {
  color: var(--color-green);
  font-weight: 500;
  text-decoration: underline;
}

.section__image { flex: 1 1 280px; }
.section__image img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Cards grid */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.card {
  flex: 1 1 260px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-teal);
}
.card__body p { margin: 0 0 1rem; color: var(--color-muted); font-size: 0.95rem; flex: 1; }
.card__price { font-weight: 600; color: var(--color-dark); margin-bottom: 1rem; }
.btn {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: #1e8559; color: #fff; text-decoration: none; }
.btn--outline {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
}
.btn--outline:hover { background: var(--color-green); color: #fff; }

/* Contact */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.contact-info { flex: 1 1 240px; }
.contact-info h2 { color: var(--color-teal); margin-top: 0; }
.contact-info p { color: var(--color-muted); }

.contact-form { flex: 1 1 320px; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Blog */
.blog-container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem 2.5rem; }
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.blog-card {
  flex: 1 1 280px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 1.25rem;
  background: #fff;
}
.blog-title { margin: 0 0 0.75rem; font-size: 1.15rem; }
.blog-title a { color: var(--color-teal); }
.blog-preview p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

/* Prose */
.prose h2 { color: var(--color-teal); margin: 2rem 0 0.75rem; }
.prose p { margin: 0 0 1rem; color: var(--color-muted); }
.prose .image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.prose .image-grid img {
  flex: 1 1 200px;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #ccc;
  padding: 2rem 1.25rem;
  margin-top: auto;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer p { margin: 0; font-size: 0.9rem; }
.site-footer a { color: #aaa; }
.site-footer a:hover { color: #fff; }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.75rem 0 0.5rem;
    border-top: 1px solid #e8e8e8;
  }
  .site-nav.is-open { display: flex; }
  .site-header__inner { flex-wrap: wrap; }
}
