/* TARE — pastry & cake studio
   Static one-page site. Palette, type and spacing tokens live here. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/worksans-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/worksans-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #fbf7f0;
  --ink: #2a211b;
  --clay: #b4633b;
  --clay-action: #a84e2b;
  --clay-action-dark: #8f3f20;
  --clay-ink: #9c4f2c;
  --muted: #6f5f51;
  --line: #e4d8ca;
  --line-strong: #cdbcaa;
  --surface: #fffdf9;
  --surface-warm: #f7f0e6;
  --espresso: #241c17;
  --error: #9b2c1a;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 2px 4px rgba(42, 33, 27, 0.04),
    0 22px 44px -26px rgba(42, 33, 27, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #c9b6a2 var(--cream);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-optical-sizing: auto;
}

p {
  margin: 0;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

::selection {
  background: var(--clay-action);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: #c9b6a2;
  border: 3px solid var(--cream);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b39d87;
}

input,
textarea,
select {
  caret-color: var(--clay-action);
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: 48px;
  padding-right: 48px;
}

section[id] {
  scroll-margin-top: 92px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 16px 30px -26px rgba(42, 33, 27, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.wordmark .dot {
  color: var(--clay-action);
}

.primary-nav {
  display: flex;
  gap: clamp(20px, 3vw, 34px);
  margin-inline: auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.primary-nav a {
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--clay-action);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover,
.primary-nav a[aria-current] {
  color: var(--ink);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current]::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.menu-toggle:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 10px var(--gutter) 26px;
}
.mobile-menu:not([hidden]) {
  display: block;
  animation: menu-in 0.24s var(--ease) both;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu nav > a {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mobile-menu nav .btn {
  margin-top: 18px;
  border-bottom: 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  letter-spacing: 0;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary,
.btn-whatsapp {
  background: var(--clay-action);
  border-color: var(--clay-action);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(168, 78, 43, 0.9);
}
.btn-primary:hover,
.btn-whatsapp:hover {
  background: var(--clay-action-dark);
  border-color: var(--clay-action-dark);
  transform: translateY(-1px);
}
.btn-primary:active,
.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.btn-small {
  padding: 11px 17px;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(156, 79, 44, 0.35);
  background: none;
  color: var(--clay-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  transition: border-color 0.2s ease, gap 0.25s var(--ease);
}
.text-link svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.text-link:hover {
  border-bottom-color: var(--clay-action);
}
.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 5.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}

.hero-sub {
  max-width: 60ch;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.0625rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.hero-note span:not(:first-child)::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
}

/* ---------- cake cards ---------- */

.cake-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
  text-align: left;
  scroll-margin-top: 100px;
}

.cake-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.cake-media {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #efe4d6;
}
.cake-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.cake-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(251, 247, 240, 0.94);
  color: var(--clay-ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.cake-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.cake-body h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.cake-body p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.cake-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 14px 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(156, 79, 44, 0.32);
  background: none;
  color: var(--clay-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cake-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.cake-link:hover {
  border-bottom-color: var(--clay-action);
  color: var(--clay-action);
}
.cake-link:hover svg {
  transform: translateX(3px);
}

@media (hover: hover) {
  .cake-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
  }
  .cake-card:hover .cake-media img {
    transform: scale(1.035);
  }
}

/* ---------- sections ---------- */

.section {
  padding-top: 108px;
  padding-bottom: 108px;
}
.section h2 {
  font-size: clamp(1.95rem, 3.8vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* ---------- counter ---------- */

.counter {
  padding-top: clamp(52px, 6vw, 72px);
}

.counter-figure {
  margin: 0;
}
.counter-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.counter-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
}
.counter-figure figcaption span {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.counter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 76px);
  margin-top: clamp(38px, 5vw, 60px);
}

.section-intro p {
  max-width: 38ch;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
}
.section-intro .text-link {
  margin-top: 22px;
}

.menu-list {
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid var(--line);
}
.menu-list h3 {
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.menu-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.menu-meta {
  flex: none;
  color: var(--clay-ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-note {
  max-width: 50ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
}

/* ---------- studio ---------- */

.studio {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.studio-media {
  margin: 0;
}
.studio-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.media-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
}

.studio-lead {
  max-width: 44ch;
  margin-top: 18px;
  color: #584a3e;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.studio-copy > p:not(.studio-lead) {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.method {
  margin: 30px 0 0;
}
.method > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid var(--line);
}
.method > div:last-child {
  border-bottom: 1px solid var(--line);
}
.method dt {
  color: var(--clay-ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.method dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------- how ---------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: clamp(30px, 4.5vw, 52px);
}
.section-head h2 {
  max-width: 20ch;
}
.section-head p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.step-no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(180, 99, 59, 0.55);
  border-radius: 50%;
  color: var(--clay-ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}
.steps p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- order ---------- */

.order {
  background: var(--surface-warm);
}

.order-head {
  max-width: 44rem;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.order-head p {
  max-width: 60ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(30px, 4vw, 54px);
}

.order-form {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(42, 33, 27, 0.03);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.field {
  margin-bottom: 20px;
}
.field-row .field {
  margin-bottom: 0;
}
.order-form > .field:last-of-type {
  margin-bottom: 0;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.optional {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #9f8a76;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input,
.field select {
  height: 48px;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field ::placeholder {
  color: #7f6d5e;
}
.field input[type="date"] {
  color: #4b3d33;
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.65;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay-action);
  box-shadow: 0 0 0 3px rgba(168, 78, 43, 0.16);
}

.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6f5f51;
  border-bottom: 1.5px solid #6f5f51;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(155, 44, 26, 0.1);
}
.field-error {
  margin-top: 6px;
  color: var(--error);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
}
.field-help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 2px;
}
.btn-send {
  flex: none;
}
.fine {
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.form-status {
  min-height: 1.25em;
  margin-top: 12px;
  color: var(--clay-ink);
  font-size: 0.875rem;
  font-weight: 500;
}
.noscript {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.875rem;
}
.noscript a {
  color: var(--clay-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* slip */

.slip {
  position: sticky;
  top: 96px;
  padding: 22px 24px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(42, 33, 27, 0.03);
}

.slip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px dashed #d9c9b7;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.slip-state {
  padding: 3px 9px;
  border: 1px solid rgba(180, 99, 59, 0.35);
  border-radius: 999px;
  color: var(--clay-ink);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
.slip.is-ready .slip-state {
  border-color: rgba(168, 78, 43, 0.55);
  background: rgba(168, 78, 43, 0.08);
  color: var(--clay-action-dark);
}

.slip-body {
  margin-top: 15px;
  color: #4b3d33;
  font-size: 0.9375rem;
  line-height: 1.8;
  white-space: pre-line;
  font-variant-numeric: tabular-nums;
}
.slip-body.is-updating {
  animation: slip-settle 0.28s var(--ease);
}
@keyframes slip-settle {
  from {
    opacity: 0.45;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slip-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px dashed #d9c9b7;
}
.slip-bottom .text-link {
  font-size: 0.75rem;
}
#copy-status {
  min-height: 1em;
  color: var(--clay-ink);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ---------- notes / faq ---------- */

.notes {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(36px, 6vw, 76px);
}
.notes-intro {
  position: sticky;
  top: 112px;
}
.notes-intro p {
  max-width: 32ch;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 19px 2px;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--clay-action-dark);
}
.faq-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--clay-action);
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}
.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}
.faq details[open] .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
}
.faq-body {
  max-width: 65ch;
  padding: 0 28px 20px 2px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq details[open] .faq-body {
  animation: faq-in 0.24s ease-out;
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--espresso);
  color: #e9dfd3;
  padding-block: clamp(48px, 6vw, 72px) 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  align-items: start;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(233, 223, 211, 0.16);
}
.footer-brand .wordmark {
  color: var(--cream);
  font-size: 1.9rem;
}
.footer-brand .dot {
  color: #d9906b;
}
.footer-brand p {
  margin-top: 14px;
  color: #b9a897;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.9375rem;
}
.footer-nav a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  color: #d6c7b9;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--cream);
  border-bottom-color: rgba(251, 247, 240, 0.4);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8b79a;
  font-size: 0.9375rem;
  font-weight: 600;
}
.footer-wa svg {
  width: 18px;
  height: 18px;
}
.footer-wa:hover {
  color: var(--cream);
}
.footer-contact p {
  max-width: 30ch;
  color: #b9a897;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 22px;
  color: #a99583;
  font-size: 0.75rem;
  line-height: 1.5;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d6c7b9;
}
.footer-bottom a svg {
  width: 14px;
  height: 14px;
}
.footer-bottom a:hover {
  color: var(--cream);
}

/* ---------- mobile order bar ---------- */

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  background: var(--clay-action);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 18px 34px -14px rgba(42, 33, 27, 0.55);
  visibility: hidden;
  transform: translateY(130%);
  transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
}
.mobile-cta svg {
  width: 18px;
  height: 18px;
}
.mobile-cta.is-visible {
  visibility: visible;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}

@media (max-width: 980px) {
  .counter-grid,
  .studio-grid,
  .order-grid,
  .notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .notes-intro {
    position: static;
  }
  .slip {
    position: static;
  }
  .studio-media {
    order: -1;
  }
  .studio-media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-inner {
    min-height: 68px;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .header-cta {
    margin-left: auto;
  }
  .header-cta .menu-toggle {
    margin-left: 0;
  }
  section[id] {
    scroll-margin-top: 84px;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .cake-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cake-media {
    aspect-ratio: 16 / 10;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .steps li {
    padding-block: 22px;
  }
  .steps li + li {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .mobile-cta {
    display: flex;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 12px;
  }
  .hero-note {
    gap: 6px 14px;
    letter-spacing: 0.14em;
  }
  .hero-note span {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .header-cta .btn-whatsapp {
    display: none;
  }
  .hero-note {
    gap: 4px 18px;
  }
  .hero-note span:not(:first-child)::before {
    display: none;
  }
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 0;
  }
  .field-row .field {
    margin-bottom: 20px;
  }
  .form-foot .btn-send {
    width: 100%;
  }
  .fine {
    max-width: none;
  }
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-contact {
    grid-column: auto;
  }
  .method > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .counter-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 2.15rem;
  }
  .btn {
    padding-inline: 18px;
  }
  .order-form {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
