/* Project Resole — landing (pairs with project-resole.html) */

:root {
  --teal: #007a7a;
  --teal-dark: #045f5f;
  --teal-deep: #033d3d;
  --white: #ffffff;
  --gray-bg: #f2f2f2;
  --text-body: #3a3a3a;
  --radius-pill: 999px;
  --radius-box: 24px;
  --font-display: "Boldonse", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--white);
}

.landing-page-project-resole {
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ——— Hero ——— */
.pr-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
}

.generated-image-1-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 28% center;
  z-index: 0;
}

/* Workshop photo: keep craftsman left, clear reading zone on the right */
.pr-hero-bg {
  object-position: min(32%, 520px) 42%;
}

@media (max-width: 900px) {
  .pr-hero-bg {
    object-position: 40% center;
  }
}

@media (max-width: 600px) {
  .pr-hero-bg {
    object-position: 45% center;
  }
}

.landing-page-project-resole-child {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 55, 58, 0.08) 0%,
    rgba(0, 55, 58, 0.06) 38%,
    rgba(0, 48, 52, 0.62) 58%,
    rgba(2, 38, 42, 0.92) 100%
  );
  pointer-events: none;
}

.landing-page-project-resole-item {
  display: none;
}

/* Nav */
.gmp-white-logo-1-parent {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.nav-brand-logo {
  display: flex;
  align-items: center;
}

.gmp-white-logo-1 {
  width: clamp(100px, 14vw, 170px);
  height: auto;
}

.home-parent {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1.75rem);
}

.home-parent .learn-how-it {
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.home-parent a.learn-how-it:hover {
  opacity: 0.85;
}

.contact-us-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-us-wrapper .learn-how-it {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.contact-us-wrapper:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pr-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
}

.pr-nav-toggle::before,
.pr-nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.pr-nav-toggle::before {
  top: 15px;
  box-shadow: 0 7px 0 var(--white);
}

.pr-nav-toggle::after {
  bottom: 15px;
}

/* Hero copy */
.frame-parent {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding: 2rem clamp(1rem, 4vw, 3.5rem) 4rem;
  max-width: 720px;
  margin-left: auto;
}

.turning-street-side-survival-j-parent {
  margin-bottom: 1.75rem;
}

.turning-street-side {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: 0.02em;
}

.we-hire-onboard {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  margin-left: auto;
}

.learn-how-it-works-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  align-self: flex-end;
  transition: transform 0.2s, box-shadow 0.2s;
}

.learn-how-it-works-wrapper .learn-how-it {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.learn-how-it-works-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* ——— Mission ——— */
.pr-mission {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--white);
  overflow: hidden;
}

.getmypair-is-dedicated {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--teal);
}

.rectangle-div,
.landing-page-project-resole-child2,
.landing-page-project-resole-child3,
.landing-page-project-resole-child4,
.landing-page-project-resole-child5 {
  position: absolute;
  border-radius: 20px;
  background: var(--gray-bg);
  z-index: 0;
  pointer-events: none;
}

.rectangle-div {
  width: min(180px, 22vw);
  height: 72px;
  top: 18%;
  left: 8%;
  opacity: 0.9;
}

.landing-page-project-resole-child2 {
  width: min(240px, 28vw);
  height: 100px;
  top: 12%;
  right: 10%;
}

.landing-page-project-resole-child3 {
  width: min(120px, 16vw);
  height: 120px;
  bottom: 22%;
  left: 15%;
}

.landing-page-project-resole-child4 {
  width: min(200px, 24vw);
  height: 64px;
  bottom: 18%;
  right: 12%;
}

.landing-page-project-resole-child5 {
  width: min(90px, 12vw);
  height: 90px;
  top: 42%;
  right: 22%;
  opacity: 0.85;
}

/* ——— Why (section 3) ——— */
.pr-why {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem)
    clamp(5.5rem, 11vw, 7.5rem);
  background: linear-gradient(
    90deg,
    #09e0ff 0%,
    #1ba8b8 22%,
    #12899b 50%,
    #0d6f7c 78%,
    #062f35 100%
  );
  color: var(--white);
}

.pr-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, min(42vw, 500px)) minmax(
      0,
      1fr
    );
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.pr-why-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  z-index: 1;
}

.pr-why-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-mask-image: radial-gradient(
    ellipse 88% 88% at 50% 48%,
    #000 52%,
    transparent 72%
  );
  mask-image: radial-gradient(
    ellipse 88% 88% at 50% 48%,
    #000 52%,
    transparent 72%
  );
}

.why-this-matters-wrapper {
  margin: 0;
  justify-self: start;
  align-self: center;
}

.why-this-matters {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}

.pr-why .frame-group {
  align-self: center;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-box);
  background: rgba(0, 20, 24, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.problem-wrapper {
  display: inline-flex;
  padding: 0.4rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.problem-wrapper .learn-how-it {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.pr-why .frame-group .many-cobblers-work {
  margin: 0;
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.96);
}

.landing-page-project-resole-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  margin: clamp(-2.5rem, -4vw, -1.25rem) auto 0;
}

.pr-why-tags.frame-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  justify-content: center;
  padding: 0 0.5rem;
}

.livelihoods-on-the-brink-wrapper,
.invisible-and-informal-workfor-wrapper,
.health-and-dignity-at-risk-wrapper,
.dying-skills-in-a-transforming-wrapper,
.gendered-and-intergenerational-wrapper {
  padding: 0.55rem 1.15rem;
  background: rgba(8, 22, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.livelihoods-on-the,
.invisible-and-informal,
.health-and-dignity,
.dying-skills-in,
.gendered-and-intergenerational {
  font-size: clamp(0.74rem, 1.15vw, 0.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

/* ——— Process ——— */
.pr-process {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--white);
}

.frame-div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.repair-shop-professional-onb-wrapper .repair-shop {
  margin: 0;
}

/* Section 4 — stacked gradient title */
.repair-shop-stack {
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.95vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  background: linear-gradient(180deg, #09e0ff 0%, #12899b 38%, #062f35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.repair-shop-stack span {
  display: block;
}

.shoes-sent-by-users-are-routed-parent .many-cobblers-work {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  color: var(--text-body);
}

.frame-parent2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.frame-parent2 .parent,
.frame-parent2 .group {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
}

.div,
.div2 {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 122, 122, 0.12);
  color: var(--teal);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-process .frame-parent2 .parent,
.pr-process .frame-parent2 .group {
  grid-template-columns: minmax(2.35rem, 2.85rem) 1fr;
  gap: 0.75rem 1.15rem;
  align-items: start;
}

.pr-process .div,
.pr-process .div2 {
  width: auto;
  min-width: 2.35rem;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #0eb4c5;
  font-weight: 800;
  font-size: clamp(1.45rem, 2.75vw, 2.1rem);
  line-height: 1.2;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0.12rem;
}

.users-send-shoes,
.shoes-arrive-at {
  font-size: 0.95rem;
  color: var(--text-body);
  padding-top: 0.35rem;
}

/* ——— Footer ——— */
.pr-footer {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem)
    clamp(2rem, 5vw, 3rem);
  background: linear-gradient(180deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
  color: var(--white);
  overflow: hidden;
}

.glass-effect-1-parent {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  gap: 0;
  opacity: 0.35;
  pointer-events: none;
}

.glass-effect-1,
.glass-effect-2,
.glass-effect-3 {
  flex: 1;
  display: flex;
  gap: 6px;
  padding: 0 4px;
  align-items: stretch;
}

.base3 {
  display: none;
}

.glass-effect-1 .base4,
.glass-effect-2 .base4,
.glass-effect-3 .base4 {
  flex: 1;
  min-width: 0;
  display: flex;
}

.glass-effect-1 .base4 .base-child,
.glass-effect-2 .base4 .base-child,
.glass-effect-3 .base4 .base-child {
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 4px;
}

.home-group {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
  margin-bottom: 2.5rem;
}

.home-group .learn-how-it {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.95;
}

.home-group a.learn-how-it:hover {
  opacity: 0.75;
}

.pr-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.gmp-white-logo-12 {
  width: clamp(130px, 18vw, 170px);
  height: auto;
  filter: brightness(0) invert(1);
}

.frame-parent3 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  max-width: 320px;
  text-align: right;
}

.group-parent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  justify-content: flex-end;
}

.group-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--white);
  opacity: 0.9;
}

.lorem-ipsum-dolor {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.frame-parent4 {
  display: flex;
  gap: 0.75rem;
}

.frame-child {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.frame-child:hover {
  background: rgba(255, 255, 255, 0.22);
}

.social-fb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5 22v-8.3h2.8l.4-3.3h-3.3V8.6c0-.9.3-1.6 1.7-1.6h1.8V4.1c-.3 0-1.5-.1-2.8-.1-2.8 0-4.7 1.7-4.7 4.8v2.7H7v3.3h2.5V22h4z'/%3E%3C/svg%3E");
  background-size: 55%;
  background-position: center;
  background-repeat: no-repeat;
}

.social-google {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 10.2v3.9h5.4c-.2 1.3-1.5 3.8-5.4 3.8-3.2 0-5.9-2.7-5.9-6s2.7-6 5.9-6c1.8 0 3 .8 3.7 1.5l2.5-2.4C16.6 3.8 14.5 3 12 3 7.3 3 3.5 6.7 3.5 11.5S7.3 20 12 20c6.2 0 7.7-5.8 7.2-8.7H12z'/%3E%3C/svg%3E");
  background-size: 55%;
  background-position: center;
  background-repeat: no-repeat;
}

.social-apple {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16.4 12.8c0-2.8 2.3-4.2 2.4-4.2-1.3-1.9-3.4-2.2-4.1-2.2-1.8-.2-3.5 1-4.4 1-.9 0-2.3-1-3.8-1C4.5 6.5 2 8.4 2 12.2c0 1.1.2 2.3.6 3.5.6 1.7 2.4 5.9 4.9 5.8 1.1 0 1.9-.8 3.4-.8 1.4 0 1.8.8 3.8.8 2.4 0 4-2.2 4.5-3.1-2.8-1.2-3.2-3.5-3.2-4.6zM14.3 4.6c1-1.2 1.7-2.9 1.5-4.6-1.5.1-3.2 1-4.2 2.2-.9 1-1.7 2.9-1.5 4.6 1.6.1 3.2-.8 4.2-2.2z'/%3E%3C/svg%3E");
  background-size: 50%;
  background-position: center 42%;
  background-repeat: no-repeat;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .pr-why-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .why-this-matters-wrapper {
    justify-self: center;
  }

  .why-this-matters {
    max-width: 20ch;
    margin: 0 auto;
  }

  .pr-why .frame-group {
    justify-self: stretch;
    max-width: 560px;
    text-align: left;
  }

  .pr-why-visual {
    max-width: 440px;
    order: 0;
  }

  .landing-page-project-resole-inner {
    margin-top: 1.25rem;
  }
}

@media (max-width: 900px) {
  .frame-div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pr-nav-toggle {
    display: block;
    flex-shrink: 0;
    margin-left: 0.5rem;
  }

  .home-parent {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(3, 61, 61, 0.97);
    backdrop-filter: blur(12px);
    gap: 0.5rem;
  }

  .home-parent.is-open {
    display: flex;
  }

  .gmp-white-logo-1-parent {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav-brand-logo {
    flex-shrink: 0;
  }

  .contact-us-wrapper {
    margin-left: auto;
    padding: 0.5rem 1rem;
  }

  .frame-parent {
    align-items: stretch;
    text-align: left;
    max-width: none;
    margin-left: 0;
    padding-top: 1rem;
  }

  .we-hire-onboard {
    margin-left: 0;
  }

  .learn-how-it-works-wrapper {
    align-self: flex-start;
  }

  .livelihoods-on-the,
  .invisible-and-informal,
  .health-and-dignity,
  .dying-skills-in,
  .gendered-and-intergenerational {
    white-space: normal;
    text-align: center;
  }

  .home-group {
    justify-content: flex-start;
  }

  .pr-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .frame-parent3 {
    align-items: flex-start;
    text-align: left;
  }

  .group-parent {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-us-wrapper,
  .learn-how-it-works-wrapper {
    transition: none;
  }
}
