:root {
  --ink: #241812;
  --muted: #6c5a4d;
  --cream: #fff8ee;
  --porcelain: #fffdf9;
  --rose: #c99379;
  --berry: #8f5a44;
  --sage: #7b9062;
  --pistachio: #c8d89b;
  --gold: #ac7961;
  --line: rgba(65, 39, 23, 0.15);
  --shadow: 0 22px 60px rgba(50, 29, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(28, 15, 10, 0.66), rgba(28, 15, 10, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 354px;
}

.logo-frame {
  display: block;
  width: 192px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 10, 7, 0.24);
}

.logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand strong,
footer strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.6vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  color: rgba(255, 255, 255, 0.88);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 12, 7, 0.84) 0%, rgba(24, 12, 7, 0.58) 39%, rgba(24, 12, 7, 0.08) 100%),
    linear-gradient(0deg, rgba(24, 12, 7, 0.58) 0%, rgba(24, 12, 7, 0) 38%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  padding: 160px 0 92px clamp(18px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f8d6bd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(3.7rem, 10vw, 8.5rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.3vw, 4.5rem);
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero .hero-slogan {
  max-width: 660px;
  margin-bottom: 16px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 48px;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  color: #fff;
  background: var(--berry);
  box-shadow: 0 14px 32px rgba(111, 36, 60, 0.24);
}

.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro div {
  padding: clamp(24px, 4vw, 44px) clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.intro div:last-child {
  border-right: 0;
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--berry);
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 3.1rem);
  font-weight: 700;
}

.intro p,
.cake-card p,
.process p,
.enquiry-copy p,
.form-note,
footer span {
  color: var(--muted);
}

.contact-link,
.form-note a,
footer a {
  color: var(--berry);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 1.05rem;
}

.section,
.flavours,
.gallery-section,
.enquiry {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.section-heading {
  width: min(980px, 100%);
  margin-bottom: clamp(28px, 5vw, 54px);
}

.cake-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cake-card {
  min-height: 310px;
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.cake-card img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
}

.cake-card div {
  padding: 22px;
  background: #fff;
}

.cake-card span {
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.flavours {
  background: var(--cream);
}

.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 300px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 18px 42px rgba(50, 29, 20, 0.12);
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 620px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 42px 18px 16px;
  color: #fff;
  background: linear-gradient(0deg, rgba(28, 15, 10, 0.78), rgba(28, 15, 10, 0));
  font-weight: 800;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.flavour-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flavour-list span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.process-section {
  background: #fff;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--porcelain);
}

.process span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

.process h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.quote-band {
  padding: clamp(54px, 9vw, 110px) clamp(18px, 5vw, 64px);
  background: var(--berry);
  color: #fff;
}

.quote-kicker {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  text-transform: uppercase;
}

blockquote {
  width: min(1060px, 100%);
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 4.3vw, 4.4rem);
  line-height: 1.13;
}

.quote-support {
  width: min(760px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.96), rgba(255, 253, 249, 0.96)),
    radial-gradient(circle at 85% 15%, rgba(123, 144, 98, 0.22), transparent 32%);
}

.enquiry-copy {
  position: sticky;
  top: 110px;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(65, 39, 23, 0.22);
  border-radius: 2px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
  }

  .intro,
  .cake-grid,
  .process,
  .enquiry {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .intro div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flavour-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enquiry-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: block;
    padding-top: 14px;
  }

  .brand {
    margin-bottom: 14px;
    min-width: 0;
  }

  .logo-frame {
    width: 164px;
    height: 46px;
  }

  .brand small,
  nav a:not(.nav-cta) {
    display: none;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-position: 43% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(24, 12, 7, 0.88), rgba(24, 12, 7, 0.38)),
      linear-gradient(0deg, rgba(24, 12, 7, 0.7), rgba(24, 12, 7, 0));
  }

  .hero-content {
    width: 100%;
    padding: 148px 18px 58px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .flavour-list,
  .order-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.tall {
    min-height: 390px;
    grid-row: auto;
  }
}
