:root {
  --process-bg: #f7f4e8;
  --process-text: #111111;
  --process-muted: #5f5f5a;
}

body {
  margin: 0;
  background: var(--process-bg);
  color: var(--process-text);
  font-family: "FH Oscar", "Segoe UI", sans-serif;
}

/* ---------- Header (shared pattern) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f7f4e8;
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100rem;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: 170px;
  height: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 20px;
  border: none;
  background: transparent;
  color: var(--process-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.store-link img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 640px) {
  .site-header .nav-container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .nav-logo img {
    width: 132px;
  }

  .store-link {
    display: none;
  }
  .process-heading-wrap{
    padding: 2rem 0 !important;
  }
}

/* ---------- Main / sections ---------- */
main {
  background: var(--process-bg);
}

.section {
  position: relative;
}

.container {
  max-width: 100rem;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---------- Hero ---------- */
.process-hero {
  padding-top: 1rem;
  padding-bottom: 4.6875rem;
  background: var(--process-bg);
}

.process-hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.125rem;
}

.process-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.process-heading-wrap {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 3rem 0;
}

.process-heading-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/home-pattern-dot.png");
  background-position: 0% 0%;
  background-size: 180px;
  background-repeat: repeat;
  z-index: -1;
}

.process-hero h1 {
  margin: 0;
  font-family: "FH Oscar", "Segoe UI", sans-serif;
  padding-left: 10px;
  font-weight: 700;
  font-size: 62px;
  line-height: 62px;
  letter-spacing: normal;
  text-transform: capitalize;
  color: var(--process-text);
}

.process-hero-copy {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5em;
  color: var(--process-text);
}

.process-hero-image {
  display: block;
  width: 55%;
  flex: 0 0 55%;
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.2);
}

.process-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1040px) {
  .process-hero .container {
    flex-direction: column;
    gap: 2rem;
  }

  .process-copy {
    max-width: 100%;
    order: 2;
  }

  .process-hero-image {
    width: 100%;
    flex: none;
    order: 1;
  }
}

@media (max-width: 640px) {
  .process-hero h1 {
    font-size: 1.6rem;
    line-height: 1.9rem;
  }

  .process-hero-copy {
    font-size: 1rem;
  }
}

/* ---------- Process Steps ---------- */
.process-steps-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.process-steps-heading-wrap {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  margin-bottom: 3rem;
  padding: 2rem 0;
  text-align: center;
}

.process-steps-heading-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/home-pattern-dot.png");
  background-position: 0% 0%;
  background-size: 180px;
  background-repeat: repeat;
  z-index: -1;
}

.process-steps-heading {
  margin: 0 auto;
  font-family: "FH Oscar", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 4rem;
  line-height: 4.2rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--process-text);
  /* max-width: 1100px; */
}

.process-steps-list {
  position: relative;
  max-width: 70%;
  margin: 0 auto;
}

.process-steps-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 0; /* set inline by main.js to end exactly at the last step */
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.15);
  z-index: 0;
}

.process-steps-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: #ef3e28;
}

.process-steps-line-fill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 15px;
  height: 15px;
  transform: translateX(-50%);
  background: #ef3e28;
  border: 2px solid #ccc;
  border-radius: 50px;
}

/* Permanent marker at each step's position on the line — created and
   positioned by main.js, stays put once the moving fill reaches it. */
.process-steps-dot {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  background: #ef3e28;
  border: 2px solid #ef3e28;
  border-radius: 50px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-steps-dot.is-active {
  opacity: 1;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 3rem 0;
}

.process-step.reverse {
  flex-direction: row-reverse;
}

/* Opacity/transform are driven continuously by main.js as the
   scroll-linked progress line/dot approaches each step — this just
   sets the starting state before JS takes over on first measure. */
.process-step.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.process-step-media {
  position: relative;
  flex: 1 1 45%;
}

.process-step-media img {
  display: block;
  width: 100%;
  height: auto;
}

.process-step-content {
  position: relative;
  z-index: 1;
  flex: 1 1 45%;
  background: #fff;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.process-step-number {
  margin-bottom: 0.75rem;
  font-family: "FH Oscar", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--process-text);
}

.process-step-content h3 {
  margin: 0 0 1rem;
  font-family: "FH Oscar", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--process-text);
}

.process-step-content p {
  margin: 0;
  font-size: 17.6px;
  font-weight: 300;
  line-height: 1.6;
  color: #000;
}

@media (max-width: 900px) {
  .process-steps-heading {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }

  .process-steps-line {
    display: none;
  }

  .process-step,
  .process-step.reverse {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .process-step-media,
  .process-step-content {
    flex: none;
    width: 100%;
    order: 2;
  }

  .process-step-content {
    order: 1;
    padding: 8%;
  }
}

@media (max-width: 640px) {
  .process-steps-heading {
    font-size: 1.6rem;
    line-height: 1.9rem;
  }

  .process-step-content h3 {
    font-size: 1.6rem;
  }

  .process-step-content p {
    font-size: 1rem;
    line-height: 1.2rem;
  }
  .process-steps-list{
    max-width: 100%;
  }
}

/* ---------- Closing statement ---------- */
.process-closing {
  padding-top: 2rem;
  padding-bottom: 4rem;
  background: var(--process-bg);
}

.process-closing-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.125rem;
}

.process-closing-copy {
  width: 100%;
  max-width: 50%;
}

.process-closing-heading-wrap {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 3rem 0;
}

.process-closing-heading-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/home-pattern-dot.png");
  background-position: 0% 0%;
  background-size: 180px;
  background-repeat: repeat;
  z-index: -1;
}

.process-closing-copy h2 {
  margin: 0;
  font-family: "FH Oscar", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.4rem;
  letter-spacing: normal;
  text-transform: capitalize;
  color: var(--process-text);
}

.process-closing-copy p {
  margin: 1rem 0 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--process-text);
}

.process-closing-copy h4 {
  margin: 1.5rem 0 0;
  font-family: "FH Oscar", "Segoe UI", sans-serif;
  font-size: 25.6px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--process-text);
}

.process-closing-image {
  width: 100%;
  max-width: 50%;
}

.process-closing-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1040px) {
  .process-closing-flex {
    flex-direction: column;
    gap: 2rem;
  }

  .process-closing-copy,
  .process-closing-image {
    max-width: 100%;
  }

  .container {
    max-width: 100rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .process-hero {
    padding-bottom: 2rem;
}

}

@media (max-width: 640px) {
  .process-closing-copy h2 {
    font-size: 1.6rem;
    line-height: 1.9rem;
    padding-left: 10px;
  }

  .process-closing-copy h4 {
    font-size: 1.6rem;
  }

  .process-closing-copy p {
    font-size: 1rem;
  }
  .process-closing-heading-wrap {
    padding: 2rem 0;
  }
}
