/* ===== base ===== */
/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/jost-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/jost-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/marcellus-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/marcellus-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cedarville Cursive";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cedarville-cursive-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --color-ink: #442c21;
  --color-ink-soft: #603c2c;
  --color-ink-mid: #523122;
  --color-ink-deep: #3a2418;
  --color-cream: #f4efe9;
  --color-white: #fff;
  --color-muted: #dad5d3;
  --color-beige: #d8cfc4;
  --color-line: #d8cfc4;
  --color-line-soft: rgba(68, 44, 33, .15);

  --font-display: "Marcellus", serif;
  --font-body: "Jost", sans-serif;
  --font-script: "Cedarville Cursive", cursive;

  --container-max: 1350px;
  --container-gutter: 15px;

  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(0, 0, .2, 1);

  /* Webflow interaction easings (Penner curves) */
  --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
  --ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
  --ease-out-circ: cubic-bezier(.075, .82, .165, 1);
  --ease-in-out-circ: cubic-bezier(.785, .135, .15, .86);
}

/* ---------- Bootstrap / Reboot overrides ---------- */
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-ink);
  background-color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.page-wrapper {
  overflow-x: clip;
  animation: page-fade .5s linear both;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  font-size: 80px;
  line-height: 90px;
}

h2 {
  font-size: 60px;
  line-height: 70px;
}

h3 {
  font-size: 42px;
  line-height: 52px;
}

h4 {
  font-size: 32px;
  line-height: 42px;
}

h5 {
  font-size: 28px;
  line-height: 38px;
}

h6 {
  font-size: 24px;
  line-height: 34px;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

figure,
blockquote {
  margin: 0;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

img,
svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-gutter);
  padding-left: var(--container-gutter);
}

/* ---------- Shared components ---------- */
.title-tag-wrapper {
  margin-bottom: 15px;
  text-align: center;
}

.title-tag {
  display: inline-block;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
}

.title-tag.text-white {
  color: var(--color-white);
}

.title-element {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.title-element-line {
  width: 140px;
  height: 1px;
  background-color: var(--color-ink);
}

.title-element-line.white-bg {
  background-color: rgba(255, 255, 255, .15);
}

.title-element-shape {
  width: 60px;
  animation: spin 10s linear infinite;
}

.section-title-wrapper {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  text-align: center;
}

.section-title {
  max-width: 825px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 70px;
}

.section-description {
  max-width: 705px;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
  line-height: 28px;
}

/* Fill button with the two-label hover roll */
.btn-fill {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding: 20px 35px;
  overflow: hidden;
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-transform: capitalize;
  border: 1px solid var(--color-ink);
  border-radius: 100px;
}

.btn-fill .btn-label {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  line-height: 100%;
  transition: transform .45s var(--ease);
}

.btn-fill .btn-label.is-ghost {
  position: absolute;
  transform: translate3d(0, 250%, 0);
}

.btn-fill:hover .btn-label {
  transform: translate3d(0, -250%, 0);
}

.btn-fill:hover .btn-label.is-ghost {
  transform: translate3d(0, 0, 0);
}

.btn-fill.secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-fill.tertiary {
  color: var(--color-white);
  background-color: var(--color-ink);
}

.btn-fill.white {
  background-color: var(--color-white);
  border-color: var(--color-white);
}

/* ---------- AOS custom animations ---------- */
[data-aos="rise-30"] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition-property: opacity, transform;
}

[data-aos="rise-30"].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos="fade-soft"] {
  opacity: 0;
  transition-property: opacity;
}

[data-aos="fade-soft"].aos-animate {
  opacity: 1;
}

[data-aos="in-left"] {
  opacity: 0;
  transform: translate3d(-60px, 0, 0);
  transition-property: opacity, transform;
}

[data-aos="in-left"].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos="in-right"] {
  opacity: 0;
  transform: translate3d(60px, 0, 0);
  transition-property: opacity, transform;
}

[data-aos="in-right"].aos-animate {
  opacity: 1;
  transform: none;
}

/* Webflow "Grow In" preset: fade + scale .75 -> 1 */
[data-aos="grow-in"] {
  opacity: 0;
  transform: scale(.75);
  transition-property: opacity, transform;
}

[data-aos="grow-in"].aos-animate {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes page-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ---------- Base responsive ---------- */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 60px;
    line-height: 70px;
  }

  h2 {
    font-size: 48px;
    line-height: 58px;
  }

  h3 {
    font-size: 36px;
    line-height: 46px;
  }

  .btn-fill {
    padding: 18px 30px;
    font-size: 17px;
  }

  .title-element {
    margin-bottom: 20px;
  }

  .title-element-line {
    width: 120px;
  }

  .section-title {
    font-size: 48px;
    line-height: 58px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 42px;
    line-height: 52px;
  }

  h2 {
    font-size: 32px;
    line-height: 42px;
  }

  h3 {
    font-size: 28px;
    line-height: 38px;
  }

  h4 {
    font-size: 24px;
    line-height: 34px;
  }

  .btn-fill {
    padding: 16px 20px;
    font-size: 16px;
  }

  .title-tag-wrapper {
    margin-bottom: 10px;
  }

  .title-tag {
    font-size: 18px;
    line-height: 28px;
  }

  .title-element {
    gap: 10px;
    margin-bottom: 10px;
  }

  .title-element-line {
    width: 100px;
  }

  .title-element-shape {
    width: 50px;
  }

  .section-title-wrapper {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 32px;
    line-height: 42px;
  }

  .section-description {
    font-size: 17px;
    line-height: 27px;
  }
}

@media screen and (max-width: 479px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .btn-fill {
    padding: 15px 20px;
    font-size: 15px;
  }

  .title-element-line {
    width: 50px;
  }

  .title-element-shape {
    width: 40px;
  }

  .section-title {
    font-size: 24px;
    line-height: 34px;
  }

  .section-description {
    font-size: 15px;
    line-height: 25px;
  }
}

/* ===== shared/footer ===== */
/* Footer links stay light on the dark background (the base a:hover reset would make them inherit the dark text color) */
.footer-menu-text-link {
  transition: color .3s ease;
}

.footer-menu-text-link:hover,
.footer-menu-text-link:focus {
  color: var(--color-white);
}

/* ===== shared/preloader ===== */
.preloader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
  transition: opacity .3s linear;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 100%;
}

.preloader-logo-wrapper {
  width: 240px;
}

.preloader-logo {
  display: block;
  width: 100%;
  height: auto;
  animation: preloader-logo-in 1s var(--ease-out) both;
}

@keyframes preloader-logo-in {
  from {
    opacity: 0;
    transform: scale(.85);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
