@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --papel: #fbf7ee;
  --creme: #f2e8d5;
  --salvia: #dfe4ce;
  --argila: #e7cbbd;
  --folha: #26351f;
  --musgo: #3e4a2a;
  --tinta: #2b1f15;
  --terracota: #c75b3c;
  --font-expression: "Fraunces", Georgia, serif;
  --font-information: "DM Sans", Arial, sans-serif;
  --page: clamp(1.25rem, 5vw, 5rem);
  --measure: 42rem;
  --section-gap: clamp(4.5rem, 9vw, 8rem);
  --element-gap: clamp(1.25rem, 3vw, 2rem);
  --hairline: 1px solid color-mix(in srgb, var(--musgo) 38%, transparent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-information);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.25em;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

a:hover {
  color: var(--musgo);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--terracota);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--folha);
  font-family: var(--font-expression);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
}

h1 em {
  font-weight: 420;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: -6rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: var(--folha);
  color: var(--papel);
  transition: top 120ms ease;
}

.skip-link:is(:focus, :focus-visible) {
  top: 0.75rem;
  color: var(--papel);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1rem var(--page);
  border-bottom: var(--hairline);
  background: var(--papel);
}

.brand {
  display: inline-flex;
  width: clamp(10rem, 24vw, 15rem);
  min-height: 44px;
  align-items: center;
}

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 650;
  text-decoration: none;
}

.hero,
.section,
.contact {
  padding: var(--section-gap) var(--page);
}

.hero {
  display: grid;
  gap: 2.5rem;
  min-height: min(54rem, calc(100vh - 6rem));
  align-items: center;
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__copy::before {
  position: absolute;
  z-index: -1;
  top: -2rem;
  right: 10%;
  width: 7.5rem;
  height: 4.25rem;
  border-radius: 44% 56% 38% 62%;
  background: var(--argila);
  content: "";
  transform: rotate(-8deg);
}

.hero__lead,
.section__heading > p,
.process__copy > p,
.maker__copy > p,
.point__status > p,
.contact > div > p {
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--folha);
  background: var(--folha);
  color: var(--papel);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--musgo);
  color: var(--papel);
}

.button--light {
  border-color: var(--papel);
  background: var(--papel);
  color: var(--folha);
}

.button--light:hover {
  background: var(--creme);
  color: var(--folha);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--folha);
  font-weight: 700;
}

.specimen {
  margin-bottom: 0.8rem;
  color: var(--musgo);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specimen::before {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.55rem;
  border-radius: 50% 20% 50% 30%;
  background: var(--terracota);
  content: "";
}

.specimen--inverse {
  color: var(--papel);
}

.catalog-date,
figcaption {
  color: var(--musgo);
  font-size: 0.78rem;
}

.catalog-date {
  margin-top: 1.25rem;
}

figure img {
  width: 100%;
  object-fit: cover;
}

figcaption {
  padding-top: 0.6rem;
  border-top: var(--hairline);
}

.hero__figure {
  position: relative;
  margin-bottom: 0;
}

.hero__figure img {
  aspect-ratio: 1;
}

.hero__figure::after {
  position: absolute;
  right: -0.75rem;
  bottom: 2.25rem;
  width: 5.5rem;
  height: 1rem;
  background: var(--terracota);
  content: "";
}

.section {
  border-top: var(--hairline);
}

.section--warm {
  background: var(--creme);
}

.section--botanical {
  background: var(--salvia);
}

.section__heading {
  max-width: var(--measure);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.offer-list {
  display: grid;
  gap: 4rem;
}

.offer {
  display: grid;
  gap: var(--element-gap);
  padding: 1.5rem 0;
  border-top: 2px solid var(--musgo);
  border-bottom: var(--hairline);
}

.offer__figure {
  margin-bottom: 0;
}

.offer__figure img {
  aspect-ratio: 4 / 5;
}

.offer__body > p {
  max-width: var(--measure);
}

.offer__details {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.offer__details div {
  padding-top: 0.65rem;
  border-top: var(--hairline);
}

.offer__details dt {
  color: var(--musgo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer__details dd {
  margin-bottom: 0;
  font-weight: 600;
}

.empty-state {
  max-width: var(--measure);
  padding: 1.5rem 0 0 1.5rem;
  border-left: 4px solid var(--musgo);
}

.process,
.maker,
.point {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.process__figure,
.maker__figure {
  margin-bottom: 0;
}

.process__figure img {
  aspect-ratio: 16 / 9;
}

.maker__figure img {
  aspect-ratio: 4 / 5;
}

blockquote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0 1.5rem;
  border-left: 4px solid var(--terracota);
}

blockquote p {
  margin-bottom: 0.75rem;
  color: var(--folha);
  font-family: var(--font-expression);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}

blockquote footer {
  color: var(--musgo);
  font-size: 0.8rem;
}

.point {
  background: var(--argila);
}

.status-label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--folha);
  color: var(--folha);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  gap: 2rem;
  background: var(--folha);
  color: var(--papel);
}

.contact h2,
.contact a {
  color: var(--papel);
}

.contact__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.contact__action > a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 2rem var(--page);
  border-top: 1px solid var(--musgo);
  background: var(--folha);
  color: var(--papel);
  font-size: 0.78rem;
}

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

@media (min-width: 48rem) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.95fr);
  }

  .hero__figure {
    align-self: stretch;
  }

  .hero__figure img {
    height: calc(100% - 2rem);
  }

  .offer {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .offer__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process,
  .maker {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .maker__figure {
    max-width: 32rem;
  }

  .point,
  .contact {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 80rem) {
  .site-header,
  .hero,
  .section,
  .contact,
  .site-footer {
    padding-right: max(var(--page), calc((100vw - 90rem) / 2));
    padding-left: max(var(--page), calc((100vw - 90rem) / 2));
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(26rem, 0.8fr);
  }

  .hero__figure {
    transform: translateY(3rem);
  }

  .process__figure {
    width: calc(100% + 6rem);
    transform: translateX(-6rem);
  }

  .maker {
    grid-template-columns: minmax(24rem, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 40rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav ul {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
