:root {
  --paper: #fdfcfa;
  --ink: #241b17;
  --muted: #62574f;
  --line: #e3dcd2;
  --blue: #1f3f8a;
  --blue-deep: #13285a;
  --blue-wash: #eaf0fa;
  --kaya: #e8b53a;
  --kaya-wash: #fbf0d0;
  --pandan: #4c7733;
  --crust: #9a5a26;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --wrap: 68rem;

  /* Type roles */
  --text-display: clamp(2.25rem, 1.25rem + 3.75vw, 3.5rem);
  --text-section: clamp(1.75rem, 1.25rem + 1.75vw, 2.375rem);
  --text-group: 1.75rem;
  --text-sub: 1.3125rem;
  --text-lede: 1.1875rem;
  --text-body: 1.0625rem;
  --text-secondary: 1rem;
  --text-meta: 0.875rem;
  --text-tag: 0.75rem;

  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' fill='%23ffffff'/%3E%3Cg fill='%231f3f8a'%3E%3Ccircle r='13'/%3E%3Ccircle cx='48' r='13'/%3E%3Ccircle cy='48' r='13'/%3E%3Ccircle cx='48' cy='48' r='13'/%3E%3C/g%3E%3Cpath d='M24 11 L37 24 L24 37 L11 24Z' fill='%23e8b53a'/%3E%3Ccircle cx='24' cy='24' r='4.5' fill='%234c7733'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.6;
}

::selection {
  background: var(--kaya);
  color: var(--ink);
}

strong,
b {
  font-weight: 600;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-display);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--text-section);
  line-height: 1.12;
}

h3 {
  font-size: var(--text-sub);
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip:focus {
  top: 0.5rem;
  color: #fff;
}

/* Sample-site notice: deliberately styled as yvalid, not as the bakery */
.sample-bar {
  background: #17201b;
  color: #e6ece7;
  font-family: system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.sample-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.45rem;
}

.sample-bar p {
  margin: 0;
}

.sample-bar a {
  color: #e6efc4;
  font-weight: 600;
}

.sample-bar a:focus-visible {
  outline-color: #e6efc4;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-tag);
  color: var(--muted);
  margin-top: 0.25rem;
}

.nav-toggle {
  display: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  color: var(--ink);
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  background: var(--kaya-wash);
}

.site-nav a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

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

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-basis: 100%;
  }

  .js .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav ul {
    flex-direction: column;
    padding-bottom: 0.5rem;
  }

  .site-nav a {
    border-radius: 6px;
    padding: 0.7rem 0.8rem;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

.button-plain {
  background: transparent;
  color: var(--blue);
}

.button-plain:hover {
  background: var(--blue-wash);
  color: var(--blue-deep);
}

.button-whatsapp {
  background: #1d7f4e;
  border-color: #1d7f4e;
}

.button-whatsapp:hover {
  background: #145c38;
  border-color: #145c38;
}

.button svg {
  width: 1.2em;
  height: 1.2em;
}

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

/* Tile band */
.tile-band {
  height: 48px;
  background: var(--tile);
  border-block: 4px solid var(--blue);
}

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3rem 3.5rem;
}

.hero-lede {
  font-size: var(--text-lede);
  line-height: 1.55;
  color: var(--muted);
  max-width: 32rem;
}

.counter-art {
  background: var(--blue);
  border-radius: 200px 200px 12px 12px;
  padding: 2.5rem 1.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 10px var(--blue), inset 0 0 0 13px var(--kaya);
}

.counter-art::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  background: var(--tile);
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}

.counter-art svg {
  position: relative;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2rem 2.5rem;
  }

  .counter-art {
    max-width: 26rem;
  }
}

/* Today's counter (home) */
.section {
  padding-block: 3.5rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
}

.counter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}

.counter-list li {
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.counter-list li + li {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.counter-list svg {
  width: 4.5rem;
  height: 3.5rem;
  margin-bottom: 0.75rem;
}

.counter-list h3 {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.price {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.counter-list p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 760px) {
  .counter-list {
    grid-template-columns: 1fr;
  }

  .counter-list li,
  .counter-list li + li {
    padding: 1.25rem 0;
    border-left: 0;
  }

  .counter-list li + li {
    border-top: 1px solid var(--line);
  }
}

/* Cakes block */
.cake-block {
  background: var(--kaya-wash);
}

.cake-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: center;
}

.cake-inner svg {
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-inline: auto;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.facts li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px dashed #d8c58e;
  position: relative;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--blue);
  transform: rotate(45deg);
}

@media (max-width: 760px) {
  .cake-inner {
    grid-template-columns: 1fr;
  }

  .cake-inner svg {
    max-width: 15rem;
  }
}

/* Visit strip */
.visit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.visit h3 {
  margin-bottom: 0.4rem;
}

.visit p {
  margin: 0;
}

@media (max-width: 760px) {
  .visit {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Inner page heading */
.page-head {
  background: var(--blue);
  color: #fff;
  padding-block: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: 0;
  bottom: 0;
  width: min(40%, 18rem);
  background: var(--tile);
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
  mask-image: linear-gradient(to right, transparent, #000 60%);
}

.page-head .wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .page-head::after {
    display: none;
  }
}

.page-head p {
  max-width: 36rem;
  font-size: var(--text-lede);
  line-height: 1.55;
  color: #dbe4f6;
  margin: 0;
}

/* Menu */
.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.menu-group h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-group);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ink);
}

.menu-group h2 svg {
  width: 2.6rem;
  height: 2rem;
  flex: none;
}

.menu-group > p {
  color: var(--muted);
  font-size: var(--text-secondary);
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-items li {
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.item-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
}

.item-line::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 2px dotted #bfb3a6;
  min-width: 1rem;
  transform: translateY(-0.25em);
}

.item-line .price {
  order: 2;
}

.menu-items p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: var(--text-secondary);
  line-height: 1.55;
}

.tag {
  display: inline-block;
  font-size: var(--text-tag);
  font-weight: 600;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--kaya-wash);
  color: #6b4b06;
  margin-left: 0.4rem;
  vertical-align: 0.1em;
}

.note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--kaya);
  border-radius: 6px;
  background: var(--blue-wash);
}

.note p {
  max-width: 68ch;
}

.note p:last-child {
  margin: 0;
}

@media (max-width: 760px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* About */
.story {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.story-text {
  max-width: 38rem;
}

.story-text p:first-of-type {
  font-size: var(--text-lede);
  line-height: 1.55;
}

.story aside {
  background: var(--kaya-wash);
  padding: 1.75rem;
  border-radius: 140px 140px 8px 8px;
  text-align: center;
}

.story aside svg {
  width: 9rem;
  height: auto;
  margin: 0.5rem auto 1rem;
}

.story aside p {
  margin: 0;
  font-size: var(--text-secondary);
  line-height: 1.55;
  color: var(--muted);
}

.story aside strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-sub);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.week {
  border-top: 2px solid var(--ink);
  margin: 0;
}

.week div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.week dt {
  font-weight: 600;
}

.week dd {
  margin: 0;
  color: var(--muted);
}

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

  .story aside {
    max-width: 22rem;
  }

  .week div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2,
.enquiry h2 {
  font-size: var(--text-group);
}

.contact-info h2:not(:first-child) {
  margin-top: 2.25rem;
}

.contact-info address {
  font-style: normal;
  margin-bottom: 1.25rem;
}

.hours {
  width: 100%;
  font-variant-numeric: tabular-nums;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.hours th {
  font-weight: 600;
  padding-right: 1rem;
}

.hours .closed td {
  color: var(--muted);
}

.enquiry {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 1.75rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.hint {
  font-weight: 400;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #b9ada0;
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--blue);
  outline-offset: 1px;
}

::placeholder {
  color: #6e655d;
  opacity: 1;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-done {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: #e3f1e6;
  border: 1px solid #1d7f4e;
  border-radius: 4px;
}

.form-done:empty {
  display: none;
}

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

  .enquiry {
    padding: 1.25rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e9e1d8;
  padding-block: 2.5rem 2rem;
  font-size: var(--text-secondary);
}

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

.site-footer strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-sub);
  line-height: 1.2;
  display: block;
  margin-bottom: 0.4rem;
  color: #fff;
}

.site-footer p {
  margin: 0 0 0.3rem;
}

.site-footer a {
  color: var(--kaya);
}

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

.site-footer li {
  margin-bottom: 0.3rem;
}

.small-print {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #4a3d36;
  color: #b4a89c;
  font-size: var(--text-meta);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
