:root {
  --fm-ink: #1d130c;
  --fm-ink-soft: #2c1e14;
  --fm-crust: #c8863a;
  --fm-crust-deep: #9c5f24;
  --fm-caramel: #b06f2c;
  --fm-cream: #fbf4e6;
  --fm-cream-soft: #f4e8d2;
  --fm-sand: #e8d8bd;
  --fm-line: rgba(29, 19, 12, 0.12);
  --fm-line-light: rgba(251, 244, 230, 0.18);
  --fm-body: #4b3a2c;
  --fm-body-invert: #f2e6d1;
  --fm-success: #3f7a44;
  --fm-danger: #a83232;
  --fm-radius-sm: 10px;
  --fm-radius-md: 18px;
  --fm-radius-lg: 28px;
  --fm-shadow-sm: 0 8px 24px rgba(29, 19, 12, 0.08);
  --fm-shadow-md: 0 18px 48px rgba(29, 19, 12, 0.14);
  --fm-shadow-lg: 0 32px 80px rgba(29, 19, 12, 0.22);
  --fm-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --fm-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fm-header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fm-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fm-body);
  background-color: var(--fm-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--fm-crust-deep);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover,
a:focus {
  color: var(--fm-caramel);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fm-font-display);
  color: var(--fm-ink);
  line-height: 1.18;
  margin: 0 0 0.75em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.35rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }

p { margin: 0 0 1.25em; }

ul, ol { padding-left: 1.2rem; }

.fm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.fm-container--wide { max-width: 1360px; }
.fm-container--narrow { max-width: 860px; }

.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fm-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fm-crust-deep);
  margin-bottom: 18px;
}

.fm-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.fm-eyebrow--light { color: var(--fm-crust); }

.fm-section {
  padding: 96px 0;
  position: relative;
}

.fm-section--tight { padding: 64px 0; }
.fm-section--flush { padding-top: 0; }

.fm-section--dark {
  background-color: var(--fm-ink);
  color: var(--fm-body-invert);
}

.fm-section--dark h1,
.fm-section--dark h2,
.fm-section--dark h3,
.fm-section--dark h4 { color: var(--fm-cream); }

.fm-section--sand { background-color: var(--fm-cream-soft); }

.fm-section--photo {
  position: relative;
  color: var(--fm-cream);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.fm-section--photo h1,
.fm-section--photo h2,
.fm-section--photo h3,
.fm-section--photo h4 { color: var(--fm-cream); }

.fm-lede {
  font-size: 1.1rem;
  max-width: 62ch;
  color: var(--fm-body);
}

.fm-section--dark .fm-lede,
.fm-section--photo .fm-lede { color: var(--fm-body-invert); }

.fm-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(251, 244, 230, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fm-line);
  transition: box-shadow 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
}

.fm-header.is-scrolled {
  box-shadow: var(--fm-shadow-sm);
  background-color: rgba(251, 244, 230, 0.98);
}

.fm-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--fm-header-h);
  padding: 14px 0;
}

.fm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fm-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fm-ink);
  letter-spacing: 0.02em;
}

.fm-brand img {
  width: 80px;
  height: auto;
  border-radius: 6px;
}

.fm-brand__word { line-height: 1; }

.fm-brand__tag {
  display: block;
  font-family: var(--fm-font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fm-crust-deep);
  margin-top: 4px;
}

.fm-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.fm-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm-nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fm-ink-soft);
  position: relative;
  padding: 6px 0;
}

.fm-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--fm-crust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.fm-nav__link:hover::after,
.fm-nav__link:focus::after,
.fm-nav__link.is-active::after { transform: scaleX(1); }

.fm-nav__link.is-active { color: var(--fm-crust-deep); }

.fm-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--fm-body);
}

.fm-header__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fm-header__meta-item i { color: var(--fm-crust-deep); }

.fm-nav-toggle {
  display: none;
  border: 1px solid var(--fm-line);
  background: transparent;
  color: var(--fm-ink);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.fm-nav-toggle:hover { background-color: rgba(200, 134, 58, 0.12); }

.fm-mobile-nav {
  display: none;
  border-top: 1px solid var(--fm-line);
  background-color: var(--fm-cream);
}

.fm-mobile-nav.is-open { display: block; }

.fm-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 12px 0 24px;
}

.fm-mobile-nav__list a {
  display: block;
  padding: 12px 4px;
  font-size: 1rem;
  color: var(--fm-ink-soft);
  border-bottom: 1px solid var(--fm-line);
}

.fm-mobile-nav__meta {
  padding: 16px 4px 4px;
  font-size: 0.88rem;
  display: grid;
  gap: 10px;
  color: var(--fm-body);
}

.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--fm-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-transform: uppercase;
}

.fm-btn:active { transform: translateY(1px); }

.fm-btn--primary {
  background-color: var(--fm-crust);
  color: var(--fm-ink);
  box-shadow: 0 12px 28px rgba(200, 134, 58, 0.32);
}

.fm-btn--primary:hover,
.fm-btn--primary:focus {
  background-color: var(--fm-crust-deep);
  color: var(--fm-cream);
  box-shadow: 0 16px 34px rgba(156, 95, 36, 0.38);
}

.fm-btn--ghost {
  background: transparent;
  color: var(--fm-cream);
  border-color: rgba(251, 244, 230, 0.55);
}

.fm-btn--ghost:hover,
.fm-btn--ghost:focus {
  background-color: var(--fm-cream);
  color: var(--fm-ink);
  border-color: var(--fm-cream);
}

.fm-btn--dark {
  background-color: var(--fm-ink);
  color: var(--fm-cream);
}

.fm-btn--dark:hover,
.fm-btn--dark:focus {
  background-color: var(--fm-crust-deep);
  color: var(--fm-cream);
}

.fm-btn--outline {
  background: transparent;
  color: var(--fm-ink);
  border-color: var(--fm-ink);
}

.fm-btn--outline:hover,
.fm-btn--outline:focus {
  background-color: var(--fm-ink);
  color: var(--fm-cream);
}

.fm-btn--sm { padding: 10px 20px; font-size: 0.8rem; }
.fm-btn--lg { padding: 18px 36px; font-size: 0.95rem; }

.fm-hero {
  position: relative;
  min-height: calc(100vh - var(--fm-header-h));
  display: flex;
  align-items: center;
  color: var(--fm-cream);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.fm-hero__inner {
  position: relative;
  z-index: 2;
  padding: 130px 0;
  max-width: 720px;
}

.fm-hero h1 { color: var(--fm-cream); }

.fm-hero__kicker {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(251, 244, 230, 0.5);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.fm-hero__text {
  font-size: 1.15rem;
  color: var(--fm-body-invert);
  max-width: 58ch;
  margin-bottom: 34px;
}

.fm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fm-hero__side {
  position: absolute;
  right: 40px;
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(251, 244, 230, 0.75);
  writing-mode: vertical-rl;
}

.fm-carousel {
  position: relative;
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  box-shadow: var(--fm-shadow-lg);
}

.fm-carousel .carousel-inner { border-radius: var(--fm-radius-lg); }

.fm-carousel__slide {
  min-height: 480px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  position: relative;
}

.fm-carousel__caption {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--fm-cream);
}

.fm-carousel__caption h3 { color: var(--fm-cream); margin-bottom: 10px; }

.fm-carousel__caption p { color: var(--fm-body-invert); margin-bottom: 0; }

.fm-carousel .carousel-indicators [data-bs-target] {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(251, 244, 230, 0.55);
  opacity: 1;
  border: 0;
}

.fm-carousel .carousel-indicators .active {
  background-color: var(--fm-crust);
}

.fm-divider {
  width: 100%;
  height: 1px;
  background: var(--fm-line);
  margin: 0;
  border: 0;
}

.fm-section--dark .fm-divider { background: var(--fm-line-light); }

.fm-card {
  background: #fff;
  border-radius: var(--fm-radius-md);
  padding: 32px;
  border: 1px solid var(--fm-line);
  box-shadow: var(--fm-shadow-sm);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fm-card:hover { transform: translateY(-4px); box-shadow: var(--fm-shadow-md); }

.fm-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: rgba(200, 134, 58, 0.14);
  color: var(--fm-crust-deep);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.fm-card h4 { margin-bottom: 12px; }
.fm-card p { margin-bottom: 0; }

.fm-card--menu {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.fm-card--menu img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--fm-sand);
}

.fm-card--menu__body { padding: 26px 28px 32px; flex: 1; display: flex; flex-direction: column; }

.fm-card--menu__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--fm-font-display);
  font-size: 1.35rem;
  color: var(--fm-crust-deep);
  margin-bottom: 12px;
}

.fm-card--menu__price small {
  font-family: var(--fm-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fm-body);
}

.fm-card--menu__body p { margin-bottom: 20px; }

.fm-card--menu__body .fm-btn { margin-top: auto; }

.fm-stat {
  text-align: left;
}

.fm-stat__num {
  display: block;
  font-family: var(--fm-font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--fm-crust);
  margin-bottom: 8px;
}

.fm-stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fm-body);
}

.fm-section--dark .fm-stat__label,
.fm-section--photo .fm-stat__label { color: var(--fm-body-invert); }

.fm-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.fm-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fm-check-list i {
  color: var(--fm-crust-deep);
  margin-top: 4px;
}

.fm-section--dark .fm-check-list i,
.fm-section--photo .fm-check-list i { color: var(--fm-crust); }

.fm-process {
  counter-reset: fm-step;
  display: grid;
  gap: 22px;
}

.fm-process__item {
  position: relative;
  padding: 26px 28px 26px 88px;
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fm-process__item:hover { transform: translateX(4px); box-shadow: var(--fm-shadow-sm); }

.fm-process__item::before {
  counter-increment: fm-step;
  content: counter(fm-step, decimal-leading-zero);
  position: absolute;
  left: 26px;
  top: 24px;
  font-family: var(--fm-font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--fm-crust);
}

.fm-process__item h4 { margin-bottom: 8px; }
.fm-process__item p { margin-bottom: 0; font-size: 0.95rem; }

.fm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fm-gallery__item {
  position: relative;
  border-radius: var(--fm-radius-md);
  overflow: hidden;
  background-color: var(--fm-sand);
}

.fm-gallery__item--wide { grid-column: span 2; }

.fm-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fm-gallery__item:hover img { transform: scale(1.05); }

.fm-gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(29, 19, 12, 0.85), rgba(29, 19, 12, 0));
  color: var(--fm-cream);
  font-size: 0.9rem;
}

.fm-accordion .accordion-item {
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.fm-accordion .accordion-button {
  background-color: #fff;
  color: var(--fm-ink);
  font-family: var(--fm-font-display);
  font-size: 1.1rem;
  padding: 22px 26px;
  box-shadow: none;
}

.fm-accordion .accordion-button:not(.collapsed) {
  background-color: var(--fm-cream-soft);
  color: var(--fm-crust-deep);
}

.fm-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(200, 134, 58, 0.25); }

.fm-accordion .accordion-body {
  padding: 8px 26px 26px;
  color: var(--fm-body);
}

.fm-form {
  display: grid;
  gap: 18px;
}

.fm-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm-ink-soft);
  margin-bottom: 6px;
}

.fm-form .form-control,
.fm-form .form-select {
  border: 1px solid var(--fm-line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--fm-ink);
  background-color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.fm-form .form-control:focus,
.fm-form .form-select:focus {
  border-color: var(--fm-crust);
  box-shadow: 0 0 0 3px rgba(200, 134, 58, 0.2);
}

.fm-form .form-control.is-invalid,
.fm-form .form-select.is-invalid {
  border-color: var(--fm-danger);
}

.fm-form__error {
  display: none;
  color: var(--fm-danger);
  font-size: 0.82rem;
  margin-top: 6px;
}

.fm-form__error.is-visible { display: block; }

.fm-form__note {
  font-size: 0.82rem;
  color: var(--fm-body);
}

.fm-form--panel {
  background: #fff;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-lg);
  padding: 40px;
  box-shadow: var(--fm-shadow-md);
}

.fm-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.fm-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.fm-contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fm-contact-list i {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(200, 134, 58, 0.16);
  color: var(--fm-crust-deep);
}

.fm-contact-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fm-crust-deep);
  margin-bottom: 2px;
}

.fm-map-wrap {
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--fm-line);
  box-shadow: var(--fm-shadow-sm);
  min-height: 380px;
}

.fm-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.fm-testimonial {
  background: #fff;
  border-radius: var(--fm-radius-md);
  padding: 34px;
  border: 1px solid var(--fm-line);
  height: 100%;
  box-shadow: var(--fm-shadow-sm);
}

.fm-testimonial__stars {
  color: var(--fm-crust);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.fm-testimonial__quote {
  font-family: var(--fm-font-display);
  font-size: 1.12rem;
  color: var(--fm-ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}

.fm-testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fm-testimonial__author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--fm-sand);
}

.fm-testimonial__name {
  font-weight: 600;
  color: var(--fm-ink);
  font-size: 0.95rem;
  line-height: 1.2;
}

.fm-testimonial__role {
  font-size: 0.8rem;
  color: var(--fm-body);
}

.fm-team__card {
  text-align: center;
}

.fm-team__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--fm-radius-md);
  background-color: var(--fm-sand);
  margin-bottom: 18px;
}

.fm-team__name {
  font-family: var(--fm-font-display);
  font-size: 1.2rem;
  color: var(--fm-ink);
  margin-bottom: 4px;
}

.fm-team__role {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fm-crust-deep);
}

.fm-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--fm-sand);
  display: grid;
  gap: 34px;
}

.fm-timeline__item { position: relative; }

.fm-timeline__item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fm-crust);
  border: 4px solid var(--fm-cream);
  box-shadow: 0 0 0 2px var(--fm-crust);
}

.fm-timeline__year {
  display: inline-block;
  font-family: var(--fm-font-display);
  font-size: 1.1rem;
  color: var(--fm-crust-deep);
  margin-bottom: 4px;
}

.fm-footer {
  background-color: var(--fm-ink);
  color: var(--fm-body-invert);
  padding: 76px 0 32px;
}

.fm-footer h5 {
  color: var(--fm-cream);
  font-family: var(--fm-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fm-footer a {
  color: var(--fm-body-invert);
  font-size: 0.92rem;
}

.fm-footer a:hover,
.fm-footer a:focus { color: var(--fm-crust); }

.fm-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.fm-footer__brand img {
  width: 80px;
  height: auto;
  border-radius: 6px;
}

.fm-footer__brand-text {
  font-family: var(--fm-font-display);
  font-size: 1.4rem;
  color: var(--fm-cream);
  line-height: 1;
}

.fm-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.fm-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.fm-footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.fm-footer__contact i {
  color: var(--fm-crust);
  margin-top: 4px;
}

.fm-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.fm-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--fm-line-light);
  color: var(--fm-cream);
  font-size: 1rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fm-footer__social a:hover,
.fm-footer__social a:focus {
  background-color: var(--fm-crust);
  color: var(--fm-ink);
  border-color: var(--fm-crust);
}

.fm-footer__bottom {
  border-top: 1px solid var(--fm-line-light);
  margin-top: 56px;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(251, 244, 230, 0.72);
}

.fm-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.fm-footer__legal a { font-size: 0.82rem; }

.fm-page-hero {
  position: relative;
  padding: 150px 0 110px;
  color: var(--fm-cream);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fm-page-hero__inner { max-width: 760px; }

.fm-page-hero h1 { color: var(--fm-cream); }
.fm-page-hero p { color: var(--fm-body-invert); font-size: 1.12rem; margin-bottom: 0; }

.fm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fm-breadcrumb a { color: rgba(251, 244, 230, 0.78); }
.fm-breadcrumb a:hover { color: var(--fm-cream); }
.fm-breadcrumb li::after { content: "/"; margin-left: 8px; color: rgba(251, 244, 230, 0.45); }
.fm-breadcrumb li:last-child::after { content: ""; }

.fm-cta {
  padding: 90px 0;
  text-align: center;
  position: relative;
  color: var(--fm-cream);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fm-cta h2 { color: var(--fm-cream); max-width: 780px; margin: 0 auto 18px; }
.fm-cta p { color: var(--fm-body-invert); max-width: 620px; margin: 0 auto 32px; }

.fm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.fm-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--fm-radius-md);
  overflow: hidden;
  border: 1px solid var(--fm-line);
  box-shadow: var(--fm-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fm-blog-card:hover { transform: translateY(-4px); box-shadow: var(--fm-shadow-md); }

.fm-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--fm-sand);
}

.fm-blog-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }

.fm-blog-card__meta {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fm-crust-deep);
  margin-bottom: 12px;
}

.fm-blog-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.fm-blog-card p { font-size: 0.95rem; margin-bottom: 20px; }
.fm-blog-card .fm-btn { margin-top: auto; align-self: flex-start; }

.fm-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--fm-body);
  margin-bottom: 32px;
}

.fm-article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.fm-article-meta i { color: var(--fm-crust-deep); }

.fm-article-body h2 { margin-top: 42px; font-size: 1.7rem; }
.fm-article-body h3 { margin-top: 32px; font-size: 1.35rem; }
.fm-article-body p { font-size: 1.02rem; }

.fm-article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--fm-crust);
  background: var(--fm-cream-soft);
  border-radius: 0 var(--fm-radius-sm) var(--fm-radius-sm) 0;
  font-family: var(--fm-font-display);
  font-size: 1.15rem;
  color: var(--fm-ink-soft);
}

.fm-legal {
  padding: 76px 0 96px;
}

.fm-legal h2 { margin-top: 40px; font-size: 1.55rem; }
.fm-legal h2:first-of-type { margin-top: 0; }
.fm-legal p, .fm-legal li { font-size: 0.98rem; }
.fm-legal ul { margin-bottom: 1.4em; }

.fm-back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--fm-line);
  background: #fff;
  color: var(--fm-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--fm-shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease;
  z-index: 1040;
  cursor: pointer;
}

.fm-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.fm-back-top:hover { background-color: var(--fm-crust); color: var(--fm-ink); }

.fm-cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: var(--fm-radius-lg);
  background: linear-gradient(135deg, #2c1e14 0%, #1d130c 100%);
  color: var(--fm-body-invert);
  box-shadow: var(--fm-shadow-lg);
  border: 1px solid rgba(200, 134, 58, 0.28);
}

.fm-cookie[hidden] { display: none !important; }

.fm-cookie__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 720px;
}

.fm-cookie__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  background-color: rgba(200, 134, 58, 0.18);
  color: var(--fm-crust);
  font-size: 1.15rem;
}

.fm-cookie__title {
  font-family: var(--fm-font-display);
  font-size: 1.15rem;
  color: var(--fm-cream);
  margin: 0 0 4px;
  line-height: 1.2;
}

.fm-cookie__text {
  font-size: 0.85rem;
  color: rgba(251, 244, 230, 0.82);
  margin: 0;
  line-height: 1.55;
}

.fm-cookie__text a {
  color: var(--fm-crust);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fm-cookie__text a:hover { color: var(--fm-cream); }

.fm-cookie__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fm-cookie__btn {
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--fm-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fm-cookie__btn:active { transform: translateY(1px); }

.fm-cookie__btn--decline {
  background: transparent;
  color: var(--fm-body-invert);
  border-color: rgba(251, 244, 230, 0.4);
}

.fm-cookie__btn--decline:hover,
.fm-cookie__btn--decline:focus {
  background-color: rgba(251, 244, 230, 0.1);
  border-color: rgba(251, 244, 230, 0.7);
  color: var(--fm-cream);
}

.fm-cookie__btn--accept {
  background-color: var(--fm-crust);
  color: var(--fm-ink);
  border-color: var(--fm-crust);
}

.fm-cookie__btn--accept:hover,
.fm-cookie__btn--accept:focus {
  background-color: var(--fm-cream);
  color: var(--fm-ink);
  border-color: var(--fm-cream);
}

.fm-newsletter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fm-newsletter .form-control {
  flex: 1 1 240px;
  min-width: 0;
}

@media (max-width: 991px) {
  .fm-nav { display: none; }
  .fm-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .fm-header__meta { display: none; }
  .fm-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .fm-gallery { grid-template-columns: repeat(2, 1fr); }
  .fm-gallery__item--wide { grid-column: span 2; }
  .fm-carousel__slide { min-height: 380px; padding: 32px; }
  .fm-hero__side { display: none; }
  .fm-section { padding: 72px 0; }
  .fm-hero__inner { padding: 90px 0; }
  .fm-form--panel { padding: 28px; }
  .fm-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
  .fm-gallery { grid-template-columns: 1fr; }
  .fm-gallery__item--wide { grid-column: span 1; }
  .fm-cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 20px;
    border-radius: var(--fm-radius-md);
  }
  .fm-cookie__actions { width: 100%; }
  .fm-cookie__btn { flex: 1 1 auto; text-align: center; }
  .fm-carousel__slide { min-height: 320px; padding: 24px; }
  .fm-process__item { padding: 62px 20px 22px; }
  .fm-process__item::before { top: 18px; left: 20px; }
  .fm-section { padding: 56px 0; }
  .fm-page-hero { padding: 110px 0 76px; }
  .fm-brand img { width: 64px; }
}
/* Footer brand tag contrast fix: lighten the descriptor over the dark footer background */
.fm-footer .fm-brand__tag {
  color: #d99a52;
}

.fm-footer .fm-footer__brand:hover .fm-brand__tag,
.fm-footer .fm-footer__brand:focus .fm-brand__tag {
  color: #e8b273;
}

/* Contrast fix: footer brand tagline on dark footer background */
.fm-footer .fm-brand__tag {
  color: #dcaa63;
}

/* ==========================================================================
   QA overrides (appended) — contrast and animation visibility fixes
   ========================================================================== */

/* 1. Darker accent brown so all crust-coloured text clears 4.5:1 on the
   cream and sand section backgrounds. */
:root {
  --fm-crust-deep: #7a4715;
}

/* 2. The footer brand tag sits on the near-black ink footer, where the
   darker brown would be almost unreadable — use the lighter crust tone. */
.fm-footer .fm-brand__tag,
.fm-footer .fm-brand__word .fm-brand__tag,
.fm-footer__brand .fm-brand__tag {
  color: #e3ad66;
}

/* 3. Scroll-reveal elements must never render at partial opacity, which
   washes text out against its background. Content stays fully visible. */
[data-aos],
[data-aos^="fade"],
[data-aos^="zoom"],
[data-aos^="slide"],
[data-aos^="flip"] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}

/* ===== Contrast overrides: amber accent text on light surfaces (WCAG AA) ===== */
main a:not(.fm-btn),
main .fm-eyebrow,
main .fm-contact-list strong,
main .fm-contact-list i,
main .fm-card__icon,
main .fm-check-list i,
main .fm-card--menu__price,
main .fm-blog-card__meta,
main .fm-team__role,
main .fm-timeline__year,
main .fm-article-meta i {
  color: #78481b;
}

main a:not(.fm-btn):hover,
main a:not(.fm-btn):focus {
  color: #5c3512;
}

/* Keep accent text readable when it sits on dark photo/dark section backgrounds */
main .fm-section--photo a:not(.fm-btn),
main .fm-section--dark a:not(.fm-btn),
main .fm-section--photo .fm-check-list i,
main .fm-section--dark .fm-check-list i,
main .fm-eyebrow--light {
  color: #e3a962;
}

/* Header brand descriptor and active nav link on the light sticky header */
.fm-header .fm-brand__tag,
.fm-header .fm-nav__link.is-active,
.fm-header .fm-header__meta-item i {
  color: #78481b;
}

.fm-header .fm-brand:hover .fm-brand__tag,
.fm-header .fm-brand:focus .fm-brand__tag {
  color: #5c3512;
}

/* ==========================================================================
   QA overrides (appended) — breadcrumb contrast on dark page heroes
   ========================================================================== */

/* The generic "main a" accent colour is too dark against the dark hero photo.
   Restore light cream breadcrumb links (and their hover state) there. */
main .fm-page-hero .fm-breadcrumb a,
main .fm-page-hero .fm-breadcrumb a:visited {
  color: #f6ecdb;
}

main .fm-page-hero .fm-breadcrumb a:hover,
main .fm-page-hero .fm-breadcrumb a:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main .fm-page-hero .fm-breadcrumb li {
  color: #e7d8c1;
}

/* ==========================================================================
   QA overrides (appended) — photo CTA sections need an explicit dark base
   colour, so cream headings and ghost buttons stay readable even when the
   background photograph is slow, blocked or missing.
   ========================================================================== */

main .fm-cta.fm-section--photo {
  background-color: #1d130c;
  color: #fbf4e6;
}

main .fm-cta.fm-section--photo h2,
main .fm-cta.fm-section--photo h3 {
  color: #fbf4e6;
}

main .fm-cta.fm-section--photo p {
  color: #f2e6d1;
}

/* Ghost button: solid border + cream text on the dark photo section */
main .fm-cta.fm-section--photo .fm-btn--ghost {
  color: #fbf4e6;
  border-color: rgba(251, 244, 230, 0.65);
  background-color: rgba(29, 19, 12, 0.35);
}

main .fm-cta.fm-section--photo .fm-btn--ghost:hover,
main .fm-cta.fm-section--photo .fm-btn--ghost:focus {
  background-color: #fbf4e6;
  color: #1d130c;
  border-color: #fbf4e6;
}

/* ==========================================================================
   QA override (appended) — hero inner block lost its horizontal container
   padding, so the kicker, heading and paragraph were clipped against both
   viewport edges on mobile. Restore side padding while keeping the vertical
   rhythm of the hero.
   ========================================================================== */
.fm-hero .fm-hero__inner.fm-container {
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 991px) {
  .fm-hero .fm-hero__inner.fm-container {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

@media (max-width: 575px) {
  .fm-hero .fm-hero__inner.fm-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   QA override (appended) — process step cards in a two-column grid were far
   taller than their short copy, leaving large empty areas. Tighten the card
   padding of the grid variant only; the stacked variant keeps its offsets.
   ========================================================================== */
@media (min-width: 768px) {
  main #process .row > [class*="col-"] > .fm-process__item {
    padding: 22px 26px 22px 78px;
  }

  main #process .row > [class*="col-"] > .fm-process__item::before {
    left: 26px;
    top: 20px;
    font-size: 1.4rem;
  }

  main #process .row > [class*="col-"] > .fm-process__item h4 {
    margin-bottom: 6px;
  }

  main #process .row > [class*="col-"] > .fm-process__item p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   QA override (appended) — step cards inside two-column grids ("From coffee
   to cool-down") were oversized for their short copy. Trim card padding,
   icon size and bottom icon margin for grid-placed cards only. Cards used as
   portrait tiles elsewhere (stats, pricing, feature tiles) are untouched.
   ========================================================================== */
main .row > [class*="col-"] > .fm-card {
  padding: 26px 28px;
}

main .row > [class*="col-"] > .fm-card > .fm-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.12rem;
  margin-bottom: 14px;
}

main .row > [class*="col-"] > .fm-card > h4 {
  margin-bottom: 8px;
}

main .row > [class*="col-"] > .fm-card > p {
  font-size: 0.95rem;
  line-height: 1.62;
}

@media (max-width: 767px) {
  main .row > [class*="col-"] > .fm-card {
    padding: 22px 22px;
  }
}

/* ==========================================================================
   QA override (appended) — text step cards in two-column grids
   ("From coffee to cool-down" / cake equivalents) rendered as tall blocks with
   a lot of empty space under a short paragraph. Only cards that actually hold
   a heading plus a paragraph are affected; icon-only stat tiles are untouched.
   The grid rows are also released from equal-height stretching so each card
   ends just after its copy.
   ========================================================================== */
main .row > [class*="col-"] > .fm-card:has(> h4):has(> p) {
  padding: 24px 26px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

main .row > [class*="col-"] > .fm-card:has(> h4):has(> p) > .fm-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

main .row > [class*="col-"] > .fm-card:has(> h4):has(> p) > h4 {
  margin-bottom: 6px;
}

main .row > [class*="col-"] > .fm-card:has(> h4):has(> p) > p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Let the columns of those sub-grids shrink to their own content instead of
   stretching every card in a row to the tallest sibling. */
main .row > [class*="col-"] > .fm-card:has(> h4):has(> p) {
  height: auto;
  align-self: start;
}

main .row > [class*="col-"]:has(> .fm-card:has(> h4):has(> p)) {
  align-self: start;
}

@media (max-width: 767px) {
  main .row > [class*="col-"] > .fm-card:has(> h4):has(> p) {
    padding: 20px 20px;
  }
}

/* ==========================================================================
   QA override (appended) — the contact form inputs inherited Bootstrap's
   fixed control sizing, so long placeholders (e.g. "Anna or Ben, whatever you
   go by") were cut off mid-word at the right edge of the field on narrow
   screens. Let the fields size themselves from their own padding/border and
   allow the placeholder to wrap instead of being clipped, while keeping the
   single-line height and rhythm of the inputs elsewhere.
   ========================================================================== */
.fm-contact-grid .fm-form .form-control {
  height: auto;
  min-height: 0;
  line-height: 1.5;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

.fm-contact-grid .fm-form textarea.form-control {
  white-space: pre-wrap;
  resize: vertical;
}

/* ==========================================================================
   QA override (appended) — final pass on the contact form fields
   ("Tell us which Saturday suits you" / "Start with the date").

   Both service pages render the panel form inside .fm-contact-grid, so this
   rule covers either DOM order. A placeholder is painted as a single line and
   cannot wrap, so the fix is to give the field enough inner room and to let the
   text end cleanly instead of being sliced by the rounded border curve.

   Scoped to the contact panel only: the newsletter input on the home page and
   the textarea keep their current look.
   ========================================================================== */
.fm-contact-grid .fm-form .form-control:not(textarea) {
  height: auto;
  min-height: 52px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* The textarea keeps its wrapped multi-line placeholder and resize handle. */
.fm-contact-grid .fm-form textarea.form-control {
  height: auto;
  min-height: 0;
  padding-left: 16px;
  padding-right: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
  resize: vertical;
}

/* Shorter placeholder on small screens so the field label copy is never
   sliced mid-word at narrow widths (mobile-first, unchanged on desktop). */
@media (max-width: 575px) {
  .fm-contact-grid .fm-form .form-control:not(textarea) {
    font-size: 0.92rem;
    min-height: 50px;
  }
}

/* ==========================================================================
   QA override (appended) — "Find the shop" primary button in the hero.
   The primary button painted dark ink text over the crust fill while the
   translucent hero overlay stacked behind it, so on mobile the measured pair
   collapsed to ~1.06:1. Keep the palette: darken the button's own fill to the
   existing crust-deep tone and use cream text, and give the fill a solid base
   colour so it never resolves against the photo overlay.
   ========================================================================== */
.fm-hero .fm-hero__actions .fm-btn--primary {
  background-color: var(--fm-crust-deep);
  background-image: none;
  color: var(--fm-cream);
}

.fm-hero .fm-hero__actions .fm-btn--primary:hover,
.fm-hero .fm-hero__actions .fm-btn--primary:focus {
  background-color: #7a4715;
  color: var(--fm-cream);
}

/* ==========================================================================
   QA override (appended) — gallery figcaption text
   The caption's gradient faded to fully transparent across the image, so the
   cream text landed on the pale bread surface and dropped to ~2.3:1 on mobile.
   Keep the palette: deepen this component's own scrim so the cream label
   always sits on a dark ink base, and add a soft text shadow as a safety net.
   Scoped to .fm-gallery__cap only.
   ========================================================================== */
.fm-gallery__item .fm-gallery__cap {
  background-image: linear-gradient(
    0deg,
    rgba(29, 19, 12, 0.96) 0%,
    rgba(29, 19, 12, 0.92) 45%,
    rgba(29, 19, 12, 0.55) 100%
  );
  color: #fffdf8;
  text-shadow: 0 1px 2px rgba(29, 19, 12, 0.85);
}

/* Slightly tighter caption block on small screens so the scrim covers the
   full height of the wrapped two-line label. */
@media (max-width: 575px) {
  .fm-gallery__item .fm-gallery__cap {
    padding: 16px 18px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   QA override (appended) — gallery figcaption, final pass
   The measured pair for "Lemon and elderflower, cut for a tasting" still
   resolved to ~3:1 on mobile: the gradient's mid/lower stops let the pale
   bread surface show through behind the cream label. Keep the palette and
   scope: give this component an opaque ink base under its scrim so the
   caption text always clears 4.5:1, in every gallery tile, at any width.
   ========================================================================== */
.fm-gallery__item .fm-gallery__cap {
  background-color: #1d130c;
  background-image: linear-gradient(
    0deg,
    rgba(29, 19, 12, 1) 0%,
    rgba(29, 19, 12, 1) 60%,
    rgba(29, 19, 12, 0.82) 100%
  );
  color: #fffdf8;
  text-shadow: 0 1px 3px rgba(29, 19, 12, 0.9);
  font-weight: 500;
}
