:root {
  --cream: #F7F1E6;
  --cream-2: #EFE5D3;
  --paper: #FFFBF4;
  --ink: #3B2A1E;
  --muted: #6B5848;
  --crust: #8A4B1F;
  --crust-dark: #6E3A16;
  --green: #4A6236;
  --green-dark: #3A4E2A;
  --night: #2E2118;
  --wheat: #E3B868;
  --line: #DCCDB4;
  --radius: 18px;
  --serif: "Fraunces Variable", Georgia, serif;
  --sans: "Work Sans Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space: clamp(4.5rem, 10vw, 8rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

section[id], #formularz { scroll-margin-top: 84px; }

a { color: var(--crust); text-underline-offset: 3px; }
a:hover { color: var(--crust-dark); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

h2 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--cream);
  padding: .6rem 1rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--wheat); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--crust); color: #fff; }
.btn-primary:hover { background: var(--crust-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--wheat); color: var(--night); }
.btn-light:hover { background: #EEC97F; color: var(--night); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--night); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
  gap: .5rem 1rem;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark { color: var(--crust); }
.brand-text {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1;
  display: flex; flex-direction: column;
}
.brand-text small {
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-top: .3rem;
}

.nav-toggle { display: none; }

.site-nav { width: 100%; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0 0 .75rem;
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem;
}
.site-nav a {
  display: inline-block; padding: .4rem 0;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.site-nav a:hover { color: var(--crust); }
.nav-cta {
  color: var(--crust) !important; font-weight: 600 !important;
}

.js .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: currentColor;
  border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 1rem; }
.js .site-nav li + li { border-top: 1px solid var(--line); }
.js .site-nav a { display: block; padding: .8rem 0; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--space); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero h1 em {
  display: block;
  font-style: italic; font-weight: 400;
  color: var(--crust);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.hero-facts {
  list-style: none; padding: 0; margin: 2.25rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
  color: var(--muted); font-size: .95rem;
}
.hero-facts strong { color: var(--green); font-weight: 600; margin-right: .35rem; }

.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgba(59, 42, 30, .45);
}
.hero-badge {
  position: absolute; left: -.5rem; bottom: 2rem;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1;
  transform: rotate(-8deg);
  box-shadow: 0 12px 30px -12px rgba(46, 33, 24, .6);
}
.hero-badge span {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin: .25rem 0;
}

/* Sections */
.section { padding: var(--space) 0; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); }

/* About */
.about { background: var(--paper); border-block: 1px solid var(--line); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-media { margin: 0; }
.about-media img {
  width: 100%; border-radius: var(--radius) var(--radius) var(--radius) 120px;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.about-text > p { color: var(--muted); max-width: 36em; }
.values { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; }
.values svg {
  flex: none; color: var(--green);
  padding: .55rem; width: 48px; height: 48px;
  background: var(--cream-2); border-radius: 50%;
}
.values h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.values p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Offer */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
}
.card-num {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  color: var(--crust); margin-bottom: 2.5rem;
  letter-spacing: .05em;
}
.card p { color: var(--muted); margin: 0; }
.card-accent { background: var(--green); border-color: var(--green); color: #fff; }
.card-accent .card-num { color: #F3D9A4; }
.card-accent p { color: #F1EDE2; }
.card-link {
  margin-top: 1.5rem; color: #fff; font-weight: 600;
}
.card-link:hover { color: #F3D9A4; }

/* Cakes */
.cakes {
  background: var(--night); color: var(--cream);
  position: relative; overflow: hidden;
}
.cakes::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(227, 184, 104, .25);
  box-shadow: 0 0 0 40px rgba(227, 184, 104, .04), 0 0 0 80px rgba(227, 184, 104, .03);
  pointer-events: none;
}
.cakes-grid { display: grid; gap: 3rem; position: relative; }
.cakes h2 { color: var(--cream); }
.cakes-intro p { color: #E6DCCB; max-width: 34em; }
.cakes-intro strong { color: var(--wheat); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.75rem;
  border: 1px solid rgba(227, 184, 104, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.5rem; top: 1.4rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--wheat); color: var(--night);
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { color: var(--cream); margin-bottom: .3rem; }
.steps p { margin: 0; color: #E6DCCB; }

/* Visit */
.visit-grid { display: grid; gap: 3rem; }
.info-block { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.info-block h3 {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
  margin-bottom: .6rem;
}
.info-block p { margin: 0 0 .25rem; }
.info-block a { font-weight: 500; }
.big-link { font-family: var(--serif); font-size: 1.5rem; font-weight: 600 !important; text-decoration: none; overflow-wrap: anywhere; }
.big-link:hover { text-decoration: underline; }
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours th, .hours td { padding: .35rem 0; text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.map { margin-top: .5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); }
.map iframe { display: block; width: 100%; border: 0; }

.form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  align-self: start;
}
.form-wrap h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
.form-intro { color: var(--muted); }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field-row { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1.5px solid #A8957C;
  border-radius: 12px;
  padding: .75rem .9rem;
  min-height: 48px;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--green); outline-offset: 1px; }
.field textarea::placeholder { color: #75624F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--green); }
.contact-form .btn { justify-self: start; }
[data-form-status] { margin: 0; font-weight: 600; color: var(--green); }
[data-form-status]:empty { display: none; }

/* Footer */
.site-footer { background: var(--night); color: #E6DCCB; padding: 3rem 0; font-size: .95rem; }
.footer-inner { display: grid; gap: 1.5rem; }
.site-footer p { margin: 0 0 .25rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--wheat); }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--cream); }

/* Larger screens */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; width: auto; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; }
  .js .site-nav li + li { border-top: 0; }
  .js .site-nav a, .site-nav a { padding: .4rem 0; }
  .nav-cta {
    padding: .55rem 1.1rem !important;
    border: 2px solid var(--crust); border-radius: 999px;
  }
  .nav-cta:hover { background: var(--crust); color: #fff !important; }
  .header-inner { flex-wrap: nowrap; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4.5rem; }
  .hero-badge { left: -2.5rem; width: 136px; height: 136px; font-size: 2.3rem; }
  .about-grid { grid-template-columns: .95fr 1.05fr; gap: 5rem; }
  .cakes-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
