@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --ink-soft: #242321;
  --bone: #f2ede4;
  --paper: #fbf8f1;
  --red: #c0392b;
  --ash: #8a827a;
  --clay: #b47745;
  --archive: #496b73;
  --line-dark: rgba(26, 26, 26, 0.18);
  --line-light: rgba(242, 237, 228, 0.18);
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --utility: "IBM Plex Mono", monospace;
  --shell: min(100% - 48px, 1280px);
  --header-height: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--bone);
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  color: var(--bone);
  background: rgba(26, 26, 26, 0.9);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 154px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a,
.site-footer a,
.text-link {
  transition: color 180ms ease-out;
}

.desktop-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: #ef6658;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  color: var(--bone);
  background: var(--red);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 180ms ease-out, transform 180ms ease-out;
}

.header-cta:hover {
  background: #d34636;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--line-light);
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 220ms var(--ease);
}

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

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

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: var(--header-height) 0 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 24px 32px;
  color: var(--bone);
  background: var(--ink);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms;
}

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

.mobile-menu nav {
  display: grid;
  gap: 8px;
}

.mobile-menu nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: clamp(2rem, 11vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.menu-label,
.eyebrow,
.guide-card__meta,
.guide-card__edition {
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu p {
  margin: 18px 0 0;
  color: var(--ash);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding-top: var(--header-height);
  overflow: hidden;
  color: var(--bone);
  background: var(--ink);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: var(--shell);
  justify-self: center;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 10vh, 132px) 54% clamp(88px, 12vh, 150px) 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: #e35b4b;
}

.eyebrow--dark {
  color: var(--red);
}

.hero h1,
.section h2,
.collection__header h3,
.publisher h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 7.2vw, 8.2rem);
}

.hero__lede {
  max-width: 650px;
  margin: 32px 0 0;
  color: rgba(242, 237, 228, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

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

.button--red {
  color: var(--bone);
  background: var(--red);
}

.button--red:hover {
  background: #d34636;
}

.button--light {
  color: var(--ink);
  background: var(--bone);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9rem;
}

.hero__visual {
  position: absolute;
  z-index: 1;
  inset: var(--header-height) 0 0 46%;
  overflow: hidden;
}

.hero__visual::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  content: "";
  background: linear-gradient(90deg, var(--ink), transparent);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero__index {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1280px) / 2));
  bottom: 24px;
  left: max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: rgba(242, 237, 228, 0.55);
  border-top: 1px solid var(--line-light);
  font-family: var(--utility);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: clamp(96px, 12vw, 180px) 0;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.manifesto {
  background: var(--bone);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: end;
}

.section-heading .eyebrow {
  align-self: start;
}

.section h2 {
  max-width: 900px;
  font-size: clamp(3.2rem, 6.6vw, 7.2rem);
}

.manifesto__intro {
  max-width: 680px;
  margin: 64px 0 0 auto;
  color: #4c4945;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 100px;
  border-top: 1px solid var(--line-dark);
}

.principle {
  min-height: 270px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line-dark);
}

.principle + .principle {
  padding-left: 28px;
}

.principle:last-child {
  border-right: 0;
}

.principle span,
.guide-card__facts dt,
.guide-card__footer span {
  color: var(--ash);
  font-family: var(--utility);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle h3 {
  max-width: 280px;
  margin: 66px 0 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1;
}

.principle p {
  max-width: 330px;
  margin: 0;
  color: #5f5a54;
}

.catalog {
  color: var(--bone);
  background: var(--ink);
}

.catalog__heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line-light);
}

.catalog__heading h2 {
  max-width: 800px;
  font-size: clamp(3.1rem, 5.8vw, 6.5rem);
}

.catalog__heading > p,
.collection__header > p {
  margin: 0;
  color: rgba(242, 237, 228, 0.64);
}

.collection {
  --collection-color: var(--clay);
  padding: 110px 0 40px;
}

.collection--escala {
  --collection-color: var(--archive);
  padding-top: 150px;
}

.collection__header {
  display: grid;
  grid-template-columns: 90px 1fr minmax(260px, 0.55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 60px;
}

.collection__mark {
  display: grid;
  width: 68px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--bone);
  background: var(--collection-color);
  border-radius: 50%;
  font-family: var(--utility);
  font-size: 0.8rem;
}

.collection__header .eyebrow {
  color: color-mix(in srgb, var(--collection-color) 70%, white);
}

.collection__header h3 {
  max-width: 640px;
  font-size: clamp(2.5rem, 4vw, 4.8rem);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1.2fr);
  min-height: 580px;
  overflow: hidden;
  color: var(--ink);
  background: var(--bone);
}

.guide-card__cover {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #d5cec4;
}

.guide-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.guide-card:hover .guide-card__cover img {
  transform: scale(1.025);
}

.guide-card__edition {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  color: var(--bone);
  background: rgba(26, 26, 26, 0.86);
}

.guide-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
}

.guide-card__meta {
  margin: 0 0 30px;
  color: var(--collection-color);
}

.guide-card h4 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.guide-card__promise {
  margin: 22px 0 0;
  color: #5f5a54;
  font-size: 1.04rem;
}

.guide-card__facts {
  display: grid;
  gap: 0;
  margin: auto 0 0;
}

.guide-card__facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}

.guide-card__facts dd {
  margin: 0;
  font-size: 0.82rem;
  text-align: right;
}

.guide-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.guide-card__footer > div {
  display: grid;
}

.guide-card__footer strong {
  font-family: var(--display);
  font-size: 1.6rem;
}

.guide-card__footer > a {
  min-height: 44px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--collection-color);
  font-size: 0.82rem;
  font-weight: 500;
}

.method {
  background: var(--paper);
}

.method .section-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(60px, 10vw, 160px);
}

.method__intro {
  position: sticky;
  top: calc(var(--header-height) + 48px);
  align-self: start;
}

.method__intro h2 {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
}

.method__intro > p:last-child {
  max-width: 520px;
  margin: 32px 0 0;
  color: #5f5a54;
}

.method__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.method-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  min-height: 190px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.method-step > span {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--bone);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--utility);
  font-size: 0.7rem;
}

.method-step h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.method-step p {
  margin: 0;
  color: #68625c;
}

.faq {
  color: var(--bone);
  background: var(--ink-soft);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(64px, 10vw, 160px);
}

.faq__heading h2 {
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.faq__items {
  border-top: 1px solid var(--line-light);
}

.faq details {
  border-bottom: 1px solid var(--line-light);
}

.faq summary {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: #e35b4b;
  font-family: var(--utility);
  font-size: 1.5rem;
  transition: transform 180ms ease-out;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 620px;
  margin: -8px 0 28px;
  color: rgba(242, 237, 228, 0.66);
}

.publisher {
  background: var(--bone);
}

.publisher__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(480px, 1.45fr);
  gap: clamp(64px, 10vw, 160px);
  align-items: center;
}

.publisher__seal {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.publisher__seal img {
  width: 45%;
}

.publisher h2 {
  max-width: 850px;
  font-size: clamp(3rem, 5.7vw, 6.5rem);
}

.publisher__content > p:not(.eyebrow) {
  max-width: 710px;
  margin: 28px 0 0;
  color: #5f5a54;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.publisher__content a {
  border-bottom: 1px solid currentColor;
}

.site-footer {
  padding: 64px max(24px, calc((100vw - 1280px) / 2)) 32px;
  color: var(--bone);
  background: var(--ink);
}

.site-footer__top,
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__top {
  min-height: 140px;
  border-bottom: 1px solid var(--line-light);
}

.site-footer__top img {
  width: min(280px, 56vw);
}

.site-footer__top a {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__bottom {
  padding-top: 28px;
  color: rgba(242, 237, 228, 0.58);
  font-size: 0.76rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom nav {
  display: flex;
  gap: 24px;
}

.mobile-sticky {
  position: fixed;
  z-index: 80;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: var(--bone);
  background: var(--red);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.mobile-sticky.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-sticky span {
  display: grid;
  font-family: var(--display);
  font-weight: 700;
}

.mobile-sticky small {
  font-family: var(--utility);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease-out, transform 560ms ease-out;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card__cover {
    aspect-ratio: 3 / 4;
  }

  .guide-card__body {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 48px);
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 0 24px;
  }

  .brand img {
    width: 136px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 0;
  }

  .hero__content {
    display: block;
    width: 100%;
    padding: 54px 24px 28px;
  }

  .hero .eyebrow {
    margin-bottom: 20px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(3.35rem, 15.2vw, 5rem);
  }

  .hero__lede {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
  }

  .hero__actions .button {
    min-width: 0;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .hero__visual {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    min-height: 42svh;
    margin-top: auto;
  }

  .hero__visual::after {
    inset: 0 0 auto;
    width: 100%;
    height: 16%;
    background: linear-gradient(180deg, var(--ink), transparent);
  }

  .hero__visual img {
    min-height: 42svh;
    object-position: center 38%;
  }

  .hero__index {
    display: none;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading,
  .catalog__heading,
  .collection__header,
  .method .section-shell,
  .faq__grid,
  .publisher__grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .catalog__heading,
  .faq__grid,
  .publisher__grid {
    gap: 34px;
  }

  .section h2,
  .catalog__heading h2,
  .faq__heading h2,
  .publisher h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .manifesto__intro {
    margin: 40px 0 0;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .principle,
  .principle + .principle {
    min-height: auto;
    padding: 26px 0 40px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .principle h3 {
    margin-top: 34px;
  }

  .catalog__heading {
    padding-bottom: 64px;
  }

  .collection {
    padding-top: 80px;
  }

  .collection--escala {
    padding-top: 120px;
  }

  .collection__header {
    align-items: start;
    margin-bottom: 42px;
  }

  .collection__header h3 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .guide-card {
    min-height: 0;
  }

  .guide-card__body {
    min-height: 480px;
    padding: 28px 24px;
  }

  .guide-card h4 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .method .section-shell {
    gap: 60px;
  }

  .method__intro {
    position: static;
  }

  .method__intro h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .method-step {
    grid-template-columns: 58px 1fr;
    gap: 18px;
    min-height: 160px;
  }

  .method-step > span {
    width: 48px;
  }

  .publisher__seal {
    width: min(64vw, 300px);
    justify-self: center;
  }

  .site-footer {
    padding: 48px 24px 100px;
  }

  .site-footer__top,
  .site-footer__bottom,
  .site-footer__bottom nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__top {
    min-height: 170px;
    justify-content: space-between;
  }

  .site-footer__bottom {
    gap: 22px;
  }

  .site-footer__bottom nav {
    gap: 12px;
  }

  .mobile-sticky {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .guide-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-card__footer > a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
