/* ==========================================================================
   Artisans — landing page
   Tokens e valores extraidos do design "Artisans Site.dc.html".
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --fg: #fff;

  --rule: rgb(255 255 255 / .1);   /* todas as divisorias */
  --rule-strong: rgb(255 255 255 / .3);

  --label: rgb(255 255 255 / .4);
  --muted: rgb(255 255 255 / .5);
  --muted-soft: rgb(255 255 255 / .42);
  --muted-dim: rgb(255 255 255 / .3);
  --body: rgb(255 255 255 / .7);

  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', monospace;

  --pad-x: 56px;
  --pad-y: 26px;
}

/* --------------------------------------------------------------- reset -- */

* { box-sizing: border-box; }

html,
body { margin: 0; }

body {
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, p, address {
  margin: 0;
  font-style: normal;
}

img { max-width: 100%; }

/* -------------------------------------------------------- acessibilidade -- */

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  transform: translateY(-120%);
  padding: 12px 18px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

/* -------------------------------------------------------------- layout -- */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

/* ------------------------------------------------------------- topbar -- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand__word {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .28em;
  color: var(--fg);
}

.site-header__mail {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--fg);
  text-decoration: none;
  opacity: .62;
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 118px;
  overflow: hidden;
  text-align: center;
}

.hero__net {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: auto;
  height: 560px;
  max-width: none;
  transform: translate(-50%, -56%);
  opacity: .06;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: 46px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .42em;
  color: var(--muted-soft);
}

.hero__mark {
  width: auto;
  height: 250px;
  margin-bottom: 30px;
}

.lockup {
  display: inline-block;
}

.lockup__word {
  display: block;
  width: 380px;
  height: auto;
}

.lockup__sub {
  display: block;
  width: 158px;
  height: auto;
  margin-top: 16px;
  margin-left: auto;
}

.hero__rule {
  width: 40px;
  height: 1px;
  margin: 54px 0 22px;
  background: var(--rule-strong);
}

.hero__place {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .24em;
  color: var(--muted);
}

/* ------------------------------------------------------------- contato -- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}

.contact__col {
  padding: var(--pad-x);
}

.contact__col:first-child {
  border-right: 1px solid var(--rule);
}

.contact__label {
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .28em;
  color: var(--label);
}

.contact__link {
  display: block;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fg);
  text-decoration: none;
}

.contact__link + .contact__link {
  margin-top: 6px;
}

.contact__address {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
}

/* --------------------------------------------------------------- legal -- */

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--rule);
}

.legal__item {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--muted);
}

.legal__item--dim {
  color: var(--muted-dim);
}

/* ---------------------------------------------------------- responsivo -- */
/* Breakpoint unico, herdado do design. Precisa vir depois das regras base
   para sobrescrever o padding horizontal de cada bloco. */

@media (max-width: 820px) {
  .pad-x {
    padding-left: 28px;
    padding-right: 28px;
  }

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

  .contact__col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .hero__mark {
    height: 188px;
    margin-bottom: 20px;
  }

  .lockup__word {
    width: 82vw;
    max-width: 360px;
  }

  .lockup__sub {
    width: 40vw;
    max-width: 168px;
    margin-top: 12px;
  }

  .legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal__item {
    font-size: 8.6px;
    letter-spacing: .01em;
  }
}

/* -------------------------------------------------- prefers-reduced-motion */

@media (prefers-reduced-motion: reduce) {
  .hero__net { display: none; }
}
