/* Kryventa — warm home cooking palette */
:root {
  --cream: #f7f1e8;
  --cream-dark: #ebe3d6;
  --orange: #ea580c;
  --orange-soft: #fb923c;
  --brown: #78350f;
  --brown-deep: #451a03;
  --ink: #1c1917;
  --muted: #57534e;
  --white: #fffdf9;
  --shadow: 0 12px 40px rgba(69, 26, 3, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(234, 88, 12, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(120, 53, 15, 0.06), transparent 50%);
}

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

a {
  color: var(--brown);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(120, 53, 15, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--brown-deep);
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 14rem;
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid rgba(120, 53, 15, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  box-shadow: 0 6px 0 var(--brown), 0 -6px 0 var(--brown);
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--brown);
  padding: 0.35rem 0.2rem;
  border-radius: 6px;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--orange);
  outline: none;
}

.nav-link.is-active {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nav-link--cta {
  background: linear-gradient(135deg, var(--orange), #c2410c);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.nav-link--cta:hover {
  filter: brightness(1.05);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(247, 241, 232, 0.98);
    border-bottom: 1px solid rgba(120, 53, 15, 0.12);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--brown-deep);
  line-height: 1.2;
  font-weight: 700;
}

.page-hero {
  padding-block: 2.5rem 2rem;
}

.page-hero--home {
  padding-block: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  padding-block: 2.5rem 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38ch;
}

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

.hero-visual {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 280px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(28, 25, 23, 0.75);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 880px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
  }
}

.section {
  padding-block: 3rem;
}

.section--tight {
  padding-block: 2.25rem;
}

.section--cream {
  background: linear-gradient(180deg, var(--cream-dark), var(--cream));
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.35rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(69, 26, 3, 0.08);
  border: 1px solid rgba(120, 53, 15, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.recipe-card:hover .recipe-card__media img {
  transform: scale(1.04);
}

.recipe-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cream);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-weight: 600;
  color: var(--brown);
  font-size: 0.78rem;
}

.recipe-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.recipe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.recipe-card__link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  color: var(--orange);
}

.recipe-card__link:hover {
  text-decoration: underline;
}

/* Story / long-form */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.story-block--reverse .story-block__text {
  order: 2;
}

.story-block--reverse .story-block__figure {
  order: 1;
}

.story-block__figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-block__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-block__text h3 {
  margin-top: 0;
  font-size: 1.65rem;
}

.drop-cap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.85;
  padding-right: 0.45rem;
  color: var(--orange);
}

@media (max-width: 800px) {
  .story-block {
    grid-template-columns: 1fr;
  }

  .story-block--reverse .story-block__text {
    order: 2;
  }

  .story-block--reverse .story-block__figure {
    order: 1;
  }
}

/* Habits grid */
.habits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.habit-card {
  background: var(--white);
  border: 1px solid rgba(120, 53, 15, 0.1);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: 0 6px 20px rgba(69, 26, 3, 0.06);
}

.habit-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.65rem;
  color: var(--orange);
}

.habit-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.habit-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .habits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .habits {
    grid-template-columns: 1fr;
  }
}

/* Visual strip */
.visual-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.visual-strip__img {
  min-height: 260px;
}

.visual-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-strip__panel {
  background: linear-gradient(145deg, var(--brown-deep), var(--brown));
  color: var(--cream);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.visual-strip__panel h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.65rem;
}

.visual-strip__panel p {
  margin: 0;
  opacity: 0.92;
}

@media (max-width: 800px) {
  .visual-strip {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), #c2410c);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.btn--secondary {
  background: var(--white);
  color: var(--brown);
  border: 1px solid rgba(120, 53, 15, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid rgba(120, 53, 15, 0.35);
}

.btn:hover {
  filter: brightness(1.03);
}

.btn:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.45);
  outline-offset: 2px;
}

/* Content pages */
.page-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin: 0 0 0.5rem;
}

.page-intro {
  max-width: 62ch;
  color: var(--muted);
  margin: 0 0 2rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form {
  position: relative;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--brown-deep);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(120, 53, 15, 0.25);
  background: var(--white);
  font: inherit;
  margin-bottom: 1rem;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(120, 53, 15, 0.1);
  box-shadow: 0 8px 24px rgba(69, 26, 3, 0.06);
}

.info-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.address-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.address-lines li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.icon-inline {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--orange);
}

/* Lists / ideas */
.idea-list {
  display: grid;
  gap: 1rem;
}

.idea-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(120, 53, 15, 0.08);
}

.idea-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  min-height: 100px;
}

@media (max-width: 640px) {
  .idea-item {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--cream-dark), #e4d9c8);
  border-top: 1px solid rgba(120, 53, 15, 0.12);
  margin-top: 3rem;
  padding-block: 2.5rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  color: var(--brown-deep);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brown);
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(120, 53, 15, 0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-note {
  margin: 0;
  max-width: 48ch;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(28, 25, 23, 0.92);
  color: var(--cream);
  padding: 1rem 0 1.25rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner a {
  color: var(--orange-soft);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--white);
}

.cookie-text p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  opacity: 0.95;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner .btn--primary {
  background: var(--orange);
  color: var(--white);
}

.cookie-banner .btn--ghost {
  border-color: rgba(255, 253, 249, 0.4);
  color: var(--cream);
}

.thankyou-hero {
  text-align: center;
  padding-block: 4rem 3rem;
}

.thankyou-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
