/* Still and Savour — shared styles */

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

:root {
  --bg: #fdfcf8;
  --bg-alt: #f4f1e9;
  --text: #3d3d3d;
  --text-muted: #5c5c5c;
  --sage: #616c5f;
  --sage-dark: #4c5548;
  --circle-tan: #cac0ac;
  --circle-tan-line: #8a7c62;
  --circle-cream: #e6e1d4;
  --circle-cream-line: #6b6455;
  --circle-blush: #f7cbbe;
  --circle-blush-line: #8a3f2f;
  --border: #e7e1d3;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

p {
  margin: 0 0 1.2em;
  font-weight: 400;
}

a {
  color: inherit;
}

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

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

/* Logo mark (used as opener above hero heading, and centered in footer) */

.logo-mark {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.logo-mark img {
  height: 70px;
  width: auto;
}

/* Buttons + links */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 400;
}

.btn-primary {
  background: var(--sage);
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}

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

.link-arrow {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

.link-arrow:hover {
  color: var(--sage-dark);
}

.link-arrow .arrow {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.15s ease;
}

.link-arrow:hover .arrow {
  transform: translateX(3px);
}

.text-link {
  font-size: 0.95rem;
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

.text-link:hover {
  color: var(--sage-dark);
}

/* Hero */

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "top visual" "actions visual";
  align-items: center;
  gap: 1.75rem 3rem;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.hero-top {
  grid-area: top;
  min-width: 0;
}

.hero-visual {
  grid-area: visual;
  min-width: 0;
  width: 100%;
}

.hero-actions {
  grid-area: actions;
}

.hero-top p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.arch {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  display: block;
}

.arch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.card-icon svg {
  width: 56px;
  height: 56px;
}

.icon-tan {
  background: var(--circle-tan);
}

.icon-cream {
  background: var(--circle-cream);
}

.icon-blush {
  background: var(--circle-blush);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.card .text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* About page */

.about-hero .wrap {
  display: block;
  text-align: center;
  padding-bottom: 1.5rem;
}

.about-hero h1 {
  margin-bottom: 0;
}

.about-hero .logo-mark {
  margin-bottom: 1.25rem;
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 3rem;
}

.about-banner {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2.5rem;
}

.about-content p:not(.signature) {
  color: var(--text-muted);
  font-size: 1.15rem;
}

/* Legal / privacy page */

.legal-hero .wrap {
  display: block;
  text-align: center;
  padding-bottom: 1.5rem;
}

.legal-hero h1 {
  margin-bottom: 0.4em;
}

.legal-hero .logo-mark {
  margin-bottom: 1.25rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 4rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.signature {
  font-family: 'Marcellus', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--text);
}

.about-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3.5rem;
  text-align: center;
}

.site-footer .logo-mark {
  margin-bottom: 0;
}

.site-footer img {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

/* Responsive */

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "visual" "actions";
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 1.25rem;
  }

  .hero .wrap {
    padding-bottom: 3rem;
  }

  .hero-top {
    text-align: center;
  }

  .hero-top p.lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
  }
}
