/* Entire Confection — static site styles */

:root {
  --color-bg: #faf6f2;
  --color-surface: #ffffff;
  --color-ink: #2c2420;
  --color-muted: #5c534d;
  --color-accent: #8b5a4a;
  --color-accent-soft: #c4a090;
  --color-border: #e8dfd6;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(44, 36, 32, 0.08);
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.site-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.site-nav a {
  color: var(--color-muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
  text-decoration: none;
}

main {
  flex: 1;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.hero {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(165deg, var(--color-surface) 0%, #f5ebe3 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

.hero p {
  max-width: 36rem;
  margin: 0 auto var(--space-md);
  color: var(--color-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: #744a3d;
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent-soft);
}

.btn--outline:hover {
  background: rgba(139, 90, 74, 0.08);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 var(--space-md);
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--color-muted);
  max-width: 40rem;
  margin: 0 auto var(--space-lg);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee8e2;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: var(--space-md);
}

.card__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 var(--space-xs);
}

.card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 38rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
}

.prose ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.contact-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.contact-panel h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.contact-panel p {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.instagram-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: var(--space-md);
}

.site-footer {
  margin-top: auto;
  padding: var(--space-md);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.site-footer a {
  color: var(--color-muted);
}

@media (max-width: 520px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
