:root {
  --navy: #0B1F4D;
  --navy-deep: #071536;
  --navy-mid: #14306e;
  --cream: #f3eee4;
  --cream-soft: #faf7f1;
  --cream-card: #fffcf7;
  --ink: #1a2236;
  --muted: #5a6478;
  --line: #e0d6c8;
  --warm: #9a7342;
  --warm-soft: rgba(154, 115, 66, 0.12);
  --shadow: 0 14px 40px rgba(11, 31, 77, 0.08);
  --shadow-lg: 0 24px 56px rgba(11, 31, 77, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1080px;
  --header-h: 4.5rem;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }
}

/* ——— Header / sticky nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.logo img {
  height: 52px;
  width: auto;
}

@media (min-width: 640px) {
  .logo img {
    height: 64px;
  }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
  outline: none;
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    padding-block: 0.85rem;
    gap: 0.65rem;
  }

  .site-nav {
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }
}

/* ——— Shared type ——— */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.7rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  margin-bottom: 1.15rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.prose p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.prose p + p {
  margin-top: 1rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 31, 77, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-mid);
  outline: none;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11, 31, 77, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--navy);
  background: rgba(11, 31, 77, 0.04);
  outline: none;
}

/* ——— Hero ——— */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(11, 31, 77, 0.04), transparent 55%),
    linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40ch;
  line-height: 1.7;
}

.pillars {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--warm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-product {
  justify-self: center;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.product-frame {
  padding: 1.25rem 1.25rem 0.5rem;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.product-frame img {
  width: 100%;
  margin-inline: auto;
}

.hero-product figcaption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ——— Scripture ——— */
.scripture {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 1.6rem 0;
}

.scripture blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  max-width: 36ch;
  margin-inline: auto;
}

.scripture cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

/* ——— About ——— */
.about {
  padding: 4.25rem 0;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
  }
}

.about-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  text-align: center;
}

.about-seal {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
}

.about-card h3 {
  color: var(--navy);
}

.about-card > p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.about-list {
  list-style: none;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.about-list li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.about-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* ——— Pasta ——— */
.pasta {
  padding: 4.25rem 0;
  background: var(--cream-soft);
  border-block: 1px solid var(--line);
}

.pasta-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .pasta-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 3.25rem;
  }
}

.seal-card {
  justify-self: center;
  width: 100%;
  max-width: 300px;
  padding: 0.65rem;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.seal-card img {
  width: 100%;
  border-radius: 50%;
}

.feature-row {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 560px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.feature-row > div {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  box-shadow: 0 6px 18px rgba(11, 31, 77, 0.04);
}

.feature-row dt {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.feature-row dd {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ——— Family ——— */
.family {
  padding: 4.5rem 0 4.75rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.9) 0%, var(--cream) 100%);
}

.family-inner {
  display: grid;
  gap: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
}

.family-intro {
  text-align: center;
}

.family-intro .prose p,
.family-intro p {
  margin-inline: auto;
  max-width: 48ch;
}

.family-intro h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.family-photo {
  text-align: center;
}

.family-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.family-photo figcaption {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.45;
}

/* ——— Cookbook ——— */
.cookbook {
  padding: 1rem 0 3.5rem;
}

.book-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 1.75rem 1.75rem;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.book-copy {
  flex: 1 1 16rem;
}

.book-copy .eyebrow {
  margin-bottom: 0.4rem;
}

.book-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  margin-bottom: 0.5rem;
  max-width: 32ch;
}

.book-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
}

/* ——— Contact ——— */
.contact {
  padding: 0 0 4.5rem;
}

.contact-card {
  text-align: center;
  padding: 3rem 1.75rem;
  background: linear-gradient(160deg, var(--cream-card) 0%, #f7f1e6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 0.85rem;
}

.contact-card > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-inline: auto;
}

.contact-email {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(11, 31, 77, 0.25);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  border-bottom-color: var(--navy);
  outline: none;
}

.contact-place {
  margin-top: 1.1rem !important;
  font-size: 0.9rem !important;
  color: var(--muted);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  padding: 2.75rem 1.25rem 2.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  opacity: 0.92;
}

.site-footer .llc {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.copyright {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .site-nav a,
  .contact-email {
    transition: none;
  }
}
