:root {
  --bg: #F5F4EF;
  --surface: #FFFEFB;
  --text: #20231F;
  --muted: #677068;
  --accent: #7F8B76;
  --accent-dark: #5F6E57;
  --soft: #E3E7DD;
  --border: #DADFD5;
  --border-strong: #C8D0C0;
  --white: #FFFFFF;
  --shadow: 0 22px 70px rgba(32, 35, 31, 0.08);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1160px;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(218, 223, 213, 0.8);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 254, 251, 0.92);
  box-shadow: 0 12px 40px rgba(32, 35, 31, 0.07);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-menu a {
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding-top: 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.94;
  color: var(--text);
}

h1 {
  max-width: 820px;
  font-size: clamp(54px, 8vw, 108px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(40px, 5vw, 66px);
  margin-bottom: 18px;
}

h3 {
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text {
  max-width: 650px;
  font-size: 19px;
}

.hero-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 12px 30px rgba(127, 139, 118, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 254, 251, 0.55);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  display: inline-flex;
  border: 1px solid var(--border);
  background: rgba(255, 254, 251, 0.62);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(227, 231, 221, 0.8), rgba(255, 254, 251, 0));
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
}

.shoe-visual {
  width: 100%;
  height: 260px;
  position: relative;
}

.shoe-arch {
  position: absolute;
  left: 10%;
  right: 12%;
  bottom: 82px;
  height: 118px;
  border: 24px solid var(--accent);
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
  opacity: 0.34;
}

.shoe-base {
  position: absolute;
  left: 9%;
  right: 2%;
  bottom: 70px;
  height: 38px;
  background: var(--text);
  border-radius: 999px 999px 34px 34px;
  transform: rotate(-3deg);
}

.shoe-heel {
  position: absolute;
  right: 13%;
  bottom: 24px;
  width: 26px;
  height: 72px;
  background: var(--text);
  border-radius: 12px;
  transform: rotate(7deg);
}

.hero-card-content {
  max-width: 360px;
}

.hero-card-content h2 {
  font-size: 48px;
}

.intro-section {
  padding-top: 40px;
}

.intro-grid,
.fit-grid,
.newsletter-box,
.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.intro-grid {
  padding: 44px;
  border: 1px solid var(--border);
  background: rgba(255, 254, 251, 0.62);
  border-radius: var(--radius-lg);
}

.intro-grid p:last-child {
  font-size: 18px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header p {
  font-size: 17px;
}

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

.category-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(32, 35, 31, 0.05);
}

.category-number,
.find-type,
.tip span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-card h3 {
  margin-top: 72px;
  font-size: 26px;
}

.category-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 900;
}

.fit-section {
  background: linear-gradient(180deg, transparent 0%, rgba(227, 231, 221, 0.55) 100%);
}

.fit-panel {
  position: sticky;
  top: 116px;
}

.fit-panel p:last-child {
  font-size: 17px;
}

.tips-list {
  display: grid;
  gap: 14px;
}

.tip {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.tip h3 {
  margin-bottom: 8px;
}

.tip p {
  margin-bottom: 0;
}

.find-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(32, 35, 31, 0.05);
}

.find-image {
  min-height: 220px;
  background: var(--soft);
  position: relative;
  overflow: hidden;
}

.find-image::before,
.find-image::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.find-image::before {
  width: 220px;
  height: 220px;
  background: rgba(127, 139, 118, 0.34);
  left: -64px;
  top: -42px;
}

.find-image::after {
  width: 190px;
  height: 90px;
  background: rgba(32, 35, 31, 0.14);
  right: -20px;
  bottom: 28px;
  transform: rotate(-12deg);
}

.find-image-two {
  background: #EEF0E9;
}

.find-image-three {
  background: #E8EDE0;
}

.find-content {
  padding: 24px;
}

.instagram-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 28px;
  background: var(--text);
  color: var(--surface);
  border-radius: var(--radius-md);
}

.instagram-callout .eyebrow,
.instagram-callout p {
  color: rgba(255, 254, 251, 0.72);
}

.instagram-callout h3 {
  color: var(--surface);
  margin: 0;
  font-family: var(--font-heading);
  font-size: 42px;
  letter-spacing: -0.045em;
}

.newsletter-section {
  padding-top: 60px;
}

.newsletter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 42px;
  align-items: center;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 0 18px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(127, 139, 118, 0.16);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-size: 14px;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 254, 251, 0.45);
}

.footer-grid {
  align-items: center;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .section {
    padding: 70px 0;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 20px auto 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: var(--soft);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .intro-grid,
  .fit-grid,
  .newsletter-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 440px;
  }

  .category-grid,
  .finds-grid {
    grid-template-columns: 1fr;
  }

  .fit-panel {
    position: static;
  }

  .instagram-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 58px 0;
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 23px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-grid,
  .newsletter-box {
    padding: 26px;
  }

  .category-card {
    min-height: auto;
  }

  .category-card h3 {
    margin-top: 42px;
  }

  .tip {
    grid-template-columns: 1fr;
  }

  .instagram-callout h3 {
    font-size: 34px;
  }
}
