:root {
  --bone: #F5F1E8;
  --paper: #FBF8F1;
  --ink: #1A1815;
  --ink-soft: #4A463E;
  --terracotta: #C97B5A;
  --terracotta-deep: #A6593A;
  --rule: rgba(26,24,21,0.12);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 5vw, 4rem);
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: inline-flex; gap: 0.05em;
}
.mark__a, .mark__t { font-style: italic; color: var(--terracotta); }
.nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); align-items: center; font-size: 0.92rem; letter-spacing: 0.04em; }
.nav a { transition: color .25s ease; }
.nav a:hover { color: var(--terracotta); }
.nav__cta {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--bone); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 10vw, 9rem);
  min-height: 80vh;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}
.hero__title em {
  font-style: italic;
  color: var(--terracotta);
}
.hero__title span,
.hero__title em {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.hero__title.in span,
.hero__title.in em { opacity: 1; transform: translateY(0); }
.hero__title.in span:nth-child(1) { transition-delay: .05s; }
.hero__title.in em:nth-child(2)   { transition-delay: .25s; }
.hero__title.in span:nth-child(4) { transition-delay: .45s; }
.hero__title.in em:nth-child(5)   { transition-delay: .65s; }

.hero__sub {
  max-width: 32ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 2.4rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center;
  padding: 0.95rem 1.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--bone);
}
.btn--primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.hero__photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(ellipse 75% 55% at 50% 60%, color-mix(in srgb, var(--terracotta) 18%, transparent) 0%, transparent 70%),
    color-mix(in srgb, var(--bone) 60%, white);
  display: grid;
  place-items: center;
  padding: 2.5rem;
  transform-origin: center bottom;
  will-change: transform;
}
.hero__photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(26,24,21,0.18));
}
.hero__photo figcaption {
  position: absolute; bottom: 1.2rem; right: 1.2rem;
  background: var(--bone); color: var(--ink-soft);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__photo.wobble {
  animation: wobble 1.3s cubic-bezier(.36,.07,.19,.97);
}
@keyframes wobble {
  0%   { transform: scale(1) rotate(0); }
  15%  { transform: scale(1.04, 0.93) rotate(-1.2deg); }
  30%  { transform: scale(0.96, 1.07) rotate(1deg); }
  45%  { transform: scale(1.02, 0.96) rotate(-0.6deg); }
  60%  { transform: scale(0.98, 1.03) rotate(0.4deg); }
  100% { transform: scale(1) rotate(0); }
}

/* ---------- strip ---------- */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 1.5rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ---------- sections shared ---------- */
section { padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 4rem); }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: baseline; margin-bottom: 3rem; }
.section-head--inline { margin-top: 5rem; }
.ord {
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.01em;
}

/* ---------- menu / cakes ---------- */
.cakes {
  display: grid; gap: 4rem;
  grid-template-columns: repeat(3, 1fr);
}
.cakes li { display: flex; flex-direction: column; gap: 1.2rem; }
.cakes figure { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.cakes figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.cakes li:hover figure img { transform: scale(1.04); }
.cakes h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.cakes p { color: var(--ink-soft); font-size: 0.98rem; }
.cakes .price { color: var(--terracotta); font-family: var(--serif); font-style: italic; }

.also .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--rule);
}
.also .grid li {
  display: flex; justify-content: space-between;
  padding: 1.1rem 0.2rem;
  border-bottom: 1px solid var(--rule);
  font-size: 1.02rem;
}
.also .grid li span:last-child { color: var(--ink-soft); font-family: var(--serif); font-style: italic; }

/* ---------- story ---------- */
.story__body {
  max-width: 60ch;
  margin-left: auto;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}
.story__body p + p { margin-top: 1.4em; color: var(--terracotta); font-style: italic; }

/* ---------- services ---------- */
.services { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.svc li {
  padding: 2rem;
  border-right: 1px solid var(--rule);
}
.svc li:last-child { border-right: 0; }
.svc h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 0.7rem; }
.svc p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.svc a {
  color: var(--terracotta);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .25s ease;
}
.svc a:hover { color: var(--terracotta-deep); }

/* ---------- visit ---------- */
.visit__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
}
.lbl { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6rem; }
.visit p { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.45; }
.visit a { border-bottom: 1px solid var(--rule); transition: color .25s ease; }
.visit a:hover { color: var(--terracotta); }

/* ---------- footer ---------- */
.site-footer {
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
  display: grid; gap: 1.4rem; place-items: center;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.foot__mark { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--terracotta); }
.foot__social { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.foot__social a { font-size: 0.92rem; letter-spacing: 0.06em; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.foot__social a:hover { color: var(--terracotta); }
.foot__fine { color: var(--ink-soft); font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; min-height: auto; }
  .hero__photo { aspect-ratio: 1/1; }
  .cakes, .svc, .visit__grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .svc li:last-child { border-bottom: 0; }
  .nav { gap: 1rem; font-size: 0.85rem; }
  .nav a:not(.nav__cta) { display: none; }
}
