:root {
  --bg: #f7f7f5;
  --bg-soft: #efefeb;
  --surface: #ffffff;
  --text: #2a2a2a;
  --text-muted: #6b6b6b;
  --line: #e0e0dc;
  --brand: #e6b422;
  --brand-strong: #d4a520;
  --accent: #e6b422;
  --gray: #6b6b6b;
  --gray-dark: #4a4a4a;
  --radius: 20px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 5% -10%, #f0efe8 0%, transparent 36%), var(--bg);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 92% 15%, rgba(230, 180, 34, 0.15), transparent 35%);
  z-index: -1;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(247, 247, 245, 0.82);
  border-bottom: 1px solid rgba(107, 107, 107, 0.15);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  text-decoration: none;
  color: inherit;
}

.site-logo__image {
  height: 48px;
  width: auto;
  display: block;
}

.site-logo__text {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-nav__link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.015em;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.site-nav__link:hover {
  color: var(--brand);
  background: rgba(230, 180, 34, 0.15);
}

.site-nav__link--active {
  color: var(--brand-strong);
  background: rgba(230, 180, 34, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.8rem) 0 clamp(4.5rem, 9vw, 7.5rem);
  background: linear-gradient(130deg, #3a3a3a 0%, #5a5a5a 45%, #6b6b6b 100%);
}

.hero__background {
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, rgba(40, 40, 40, 0.92), rgba(80, 80, 80, 0.58)),
    url("/media/hero-bg.png") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero__content {
  position: relative;
  max-width: 740px;
  animation: slide-up 540ms ease both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.77rem;
  color: var(--accent);
}

.hero__title,
h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  margin-top: 0;
}

.hero__title {
  margin: 0.8rem 0 1rem;
  color: #fcfefc;
  font-size: clamp(2rem, 5vw, 3.65rem);
}

.hero__description {
  margin: 0;
  color: #dbe8df;
  font-size: clamp(1.04rem, 2.4vw, 1.28rem);
  max-width: 62ch;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

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

.btn--primary {
  background: var(--accent);
  color: #1c241f;
}

.btn--primary:hover {
  background: #ecd8a4;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #ecf7ee;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--secondary {
  background: var(--brand);
  color: #eff8f2;
}

.btn--secondary:hover {
  background: var(--brand-strong);
}

.section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.section--muted {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-top: 1px solid rgba(107, 107, 107, 0.12);
}

.section--muted-no-border {
  border-top: 0;
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.2rem;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.content {
  color: var(--text-muted);
}

.content h2,
.content h3 {
  color: var(--text);
}

.content p {
  margin-top: 0;
}

.content ul,
.content ol {
  margin: 0.75rem 0 1.15rem;
  padding-inline-start: 1.25rem;
  list-style-position: outside;
}

.content li {
  margin: 0.25rem 0;
}

/* Keep overall centered layout, but render lists as readable left-aligned blocks. */
.content--center ul,
.content--center ol {
  text-align: left;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.content--center li {
  text-align: left;
}

.content--center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card__badge {
  height: 38px;
  width: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(107, 107, 107, 0.2), rgba(230, 180, 34, 0.45));
  margin-bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
}

.service-card__icon {
  width: 20px;
  height: 20px;
}

.service-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.42rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.service-card p {
  margin-top: 0;
  color: var(--text-muted);
}

.text-link {
  margin-top: auto;
  text-decoration: none;
  font-weight: 800;
  color: var(--brand-strong);
}

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

.center-actions {
  text-align: center;
  margin-top: 2rem;
}

.content-page {
  max-width: 900px;
  margin-inline: auto;
}

.content-page h1 {
  margin: 0.7rem 0 1.4rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
}

.block-zone .umb-block-list {
  display: grid;
  gap: 1rem;
}

.block-zone--narrow {
  max-width: 900px;
  margin-inline: auto;
}

.editor-block--contained {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  justify-self: center;
}

.editor-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  margin: 0;
}

.layout-section {
  width: 100%;
}

.layout-section--contained {
  max-width: 900px;
  margin-inline: auto;
}

.layout-section--muted {
  background: linear-gradient(180deg, rgba(107, 107, 107, 0.08), rgba(230, 180, 34, 0.06));
  border: 1px solid rgba(107, 107, 107, 0.14);
  border-radius: var(--radius);
  padding: 1rem;
}

.layout-section__grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

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

.layout-section__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .layout-section__grid--2,
  .layout-section__grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Sections should control width; inner blocks should fill available column width. */
.layout-section .editor-block--contained {
  max-width: none;
  margin-inline: 0;
  justify-self: stretch;
}

.editor-block h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.editor-block--image {
  display: grid;
  gap: 1rem;
}

.editor-block__media img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
  max-height: 380px;
}

.editor-block--quote p {
  margin: 0;
  font-size: 1.14rem;
  color: var(--text);
}

.editor-block--quote cite {
  display: block;
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 700;
}

.editor-block--cta {
  text-align: left;
  border-color: rgba(107, 107, 107, 0.22);
  background: var(--surface);
  border-top: 6px solid rgba(230, 180, 34, 0.85);
}

.editor-block--cta .btn {
  margin-top: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(107, 107, 107, 0.16);
  background: #3a3a3a;
  color: #e0e0e0;
  padding: 2.4rem 0;
}

.site-footer__grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.site-footer a {
  color: #e0e0e0;
  text-decoration: none;
}

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

.footer-title {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 800;
}

.footer-copy {
  margin-top: 0.75rem;
  color: #b0b0b0;
}

@media (min-width: 760px) {
  .site-nav__link {
    font-size: 0.9rem;
  }

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

  .editor-block--image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .editor-block--image-right .editor-block__media {
    order: 2;
  }

  .editor-block--image-right .editor-block__body {
    order: 1;
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 730px) {
  .site-header__inner {
    padding: 0.7rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(24px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}
