:root {
  --ink: #0b0c0e;
  --muted: #62676f;
  --paper: #f4f5f7;
  --white: #ffffff;
  --line: rgba(11, 12, 14, 0.16);
  --mustard: #d9ad42;
  --jewelry-orange: #ff6a2a;
  --jewelry-pink: #ef2f70;
  --jewelry-violet: #8d56aa;
  --jewelry-deep: #58387f;
  --jewelry-border: #edcade;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

html {
  min-width: 320px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lato", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(239, 47, 112, 0.055), transparent 27%),
    radial-gradient(circle at 15% 88%, rgba(88, 56, 127, 0.045), transparent 25%),
    linear-gradient(135deg, #f8f8f9 0%, #f1f3f5 54%, #f7f7f8 100%);
}

body::after {
  z-index: 0;
  background-image:
    url("assets/crazzula-jewelry-isotipo.png"),
    url("assets/crazzula-business-symbol.svg");
  background-repeat: no-repeat;
  background-position: -180px calc(100% + 220px), calc(100% + 120px) -150px;
  background-size: 560px, 430px;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.035;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-120%);
}

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

.page {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1440px, 100%);
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.9rem, 2vh, 1.4rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.3vh, 2.7rem) clamp(1.25rem, 4.5vw, 4.5rem) 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group-mark {
  display: inline-grid;
  justify-items: center;
  color: var(--ink);
  text-decoration: none;
}

.group-mark__name {
  position: relative;
  font-family: "Gotu", serif;
  font-size: clamp(2.05rem, 2.9vw, 2.7rem);
  line-height: 1;
  letter-spacing: 0.015em;
}

.group-mark__name sup {
  position: absolute;
  top: 0.03em;
  right: -0.92em;
  font: 400 0.28em "Lato", sans-serif;
}

.group-mark__descriptor {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transform: translateX(0.15em);
}

.group-mark__descriptor::before,
.group-mark__descriptor::after {
  width: 1.65rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.38;
}

main {
  display: grid;
  width: min(1240px, 100%);
  min-width: 0;
  grid-template-columns: 0.84fr 1.42fr;
  gap: clamp(2.5rem, 5.5vw, 5.6rem);
  align-items: center;
  align-self: start;
  margin: clamp(2rem, 4.8vh, 3.25rem) auto 0;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0.7rem 0 1rem;
  font-family: "Gotu", serif;
  font-size: clamp(2.35rem, 4.7vw, 4.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--ink);
  font-style: normal;
}

.intro h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.08em;
  left: -0.04em;
  height: 0.22em;
  border-radius: 999px;
  background: var(--mustard);
  content: "";
  transform: rotate(-1.5deg) scaleX(0);
  transform-origin: left;
  animation: reveal-line 0.8s 0.35s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro__copy {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.58;
}

.brands {
  display: grid;
  gap: 0.85rem;
}

.brand-card {
  --accent: var(--ink);
  --accent-soft: #eceef0;
  position: relative;
  display: grid;
  min-height: 178px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.55rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  border: 1px solid rgba(11, 12, 14, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(20, 23, 28, 0.055);
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(18px);
  animation: rise-in 0.65s both cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.brand-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
}

.brand-card--jewelry {
  --accent: linear-gradient(
    90deg,
    var(--jewelry-orange),
    var(--jewelry-pink),
    var(--jewelry-violet)
  );
  --accent-soft: #fbe9f2;
  border-color: var(--jewelry-border);
  background: rgba(255, 251, 253, 0.9);
}

.brand-card--business { animation-delay: 0.12s; }

.brand-card__logo {
  display: grid;
  width: 92px;
  height: 94px;
  place-items: center;
  padding-right: 1.05rem;
  border-right: 1px solid rgba(11, 12, 14, 0.12);
}

.brand-card__logo img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-card__logo--jewelry img {
  width: 76px;
  height: 76px;
  mix-blend-mode: multiply;
}

.brand-card__logo--business img {
  border-radius: 17px;
  box-shadow: 0 8px 18px rgba(11, 12, 14, 0.14);
}

.brand-card__content { min-width: 0; color: var(--ink); }

.brand-card:hover,
.brand-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.brand-card--jewelry:hover,
.brand-card--jewelry:focus-visible {
  border-color: rgba(239, 47, 112, 0.52);
  box-shadow: 0 18px 42px rgba(143, 70, 130, 0.14);
}

.brand-card--business:hover,
.brand-card--business:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 18px 42px rgba(11, 12, 14, 0.14);
}

.brand-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.56rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.brand-card--jewelry .brand-kicker { color: var(--jewelry-deep); }

.brand-name {
  display: block;
  margin-bottom: 0.42rem;
  font-family: "Gotu", serif;
  font-size: clamp(1.22rem, 1.8vw, 1.7rem);
}

.brand-name sup { font: 400 0.48em "Lato", sans-serif; }

.brand-card p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.47;
}

.arrow {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.08rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.brand-card:hover .arrow {
  background: var(--ink);
  color: var(--white);
  transform: translate(3px, -3px);
}

.brand-card--jewelry:hover .arrow {
  border-color: var(--jewelry-deep);
  background: var(--jewelry-deep);
}

.site-footer {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: clamp(210px, 27vh, 260px);
  grid-template-rows: auto auto;
  gap: 0.85rem;
  align-content: center;
  margin-left: 50%;
  padding: 1.25rem max(1.25rem, calc((100vw - 1296px) / 2)) 0.75rem;
  background: var(--ink);
  color: var(--white);
  transform: translateX(-50%);
}

.site-footer__main {
  display: grid;
  width: min(1240px, 100%);
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.45fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  justify-self: center;
}

.footer-intro h2 {
  margin: 0 0 0.18rem;
  font-family: "Gotu", serif;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.footer-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  line-height: 1.4;
}

.contact-link__label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  padding: 0.45rem clamp(1.25rem, 2.5vw, 2.25rem);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
}

.contact-link__label { grid-column: 1; }

.contact-link__value {
  grid-column: 1;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  transition: transform 0.22s ease;
}

.contact-link:hover .contact-link__arrow { transform: translate(3px, -3px); }

.legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.68rem;
  text-align: center;
  white-space: nowrap;
}

@keyframes reveal-line {
  from { transform: rotate(-1.5deg) scaleX(0); }
  to { transform: rotate(-1.5deg) scaleX(1); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  main { grid-template-columns: 0.8fr 1.3fr; gap: 2.4rem; }
  .brand-card { grid-template-columns: 76px minmax(0, 1fr) auto; }
  .brand-card__logo { width: 76px; height: 82px; padding-right: 0.9rem; }
  .brand-card__logo img { width: 60px; height: 60px; }
}

@media (max-width: 760px) {
  body { overflow-y: auto; }

  body::after {
    background-position: -150px calc(100% + 150px), calc(100% + 110px) -90px;
    background-size: 390px, 310px;
  }

  .page {
    width: 100%;
    max-width: 100%;
    gap: 0.9rem;
    padding: 1.2rem 1.2rem 0;
  }

  header { justify-content: center; }
  .group-mark__name { font-size: 1.85rem; }
  .group-mark__descriptor { margin-top: 0.08rem; gap: 0.45rem; font-size: 0.58rem; }
  .group-mark__descriptor::before,
  .group-mark__descriptor::after { width: 1.15rem; }

  main {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 1.15rem;
  }

  .intro,
  .brands,
  .brand-card { min-width: 0; max-width: 100%; }

  .intro h1 {
    max-width: 100%;
    margin: 0.3rem 0 0.55rem;
    font-size: clamp(1.95rem, 9vw, 2.75rem);
  }

  .intro__copy { font-size: 0.92rem; line-height: 1.42; }
  .brands { gap: 0.65rem; }

  .brand-card {
    min-height: 146px;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 0.8rem;
    padding: 0.9rem;
    border-radius: 17px;
  }

  .brand-card__logo { width: 64px; height: 72px; padding-right: 0.75rem; }
  .brand-card__logo img { width: 52px; height: 52px; }
  .brand-card__logo--jewelry img { width: 56px; height: 56px; }
  .brand-name { margin-bottom: 0.25rem; font-size: 1.05rem; }
  .brand-kicker { margin-bottom: 0.32rem; padding: 0.18rem 0.42rem; font-size: 0.56rem; }
  .brand-card p { font-size: 0.78rem; line-height: 1.32; }
  .arrow { width: 36px; height: 36px; }

  .site-footer {
    min-height: 220px;
    gap: 0.65rem;
    padding: 1rem 1.2rem 0.65rem;
  }

  .site-footer__main {
    grid-template-columns: minmax(160px, 0.68fr) minmax(0, 1.32fr);
    gap: 1rem;
  }

  .footer-intro h2 { font-size: 1.4rem; }
  .footer-intro p { font-size: 0.76rem; }
  .contact-link { padding-inline: 0.75rem; }
  .contact-link__value { font-size: 0.72rem; }
  .contact-link__arrow { display: none; }
  .legal { font-size: 0.62rem; }
}

@media (max-width: 560px) {
  .brand-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.72rem;
  }

  .brand-card__logo { width: 56px; height: 66px; padding-right: 0.65rem; }
  .brand-card__logo img { width: 46px; height: 46px; }
  .brand-card__logo--jewelry img { width: 50px; height: 50px; }
  .brand-card__content { padding-right: 1.25rem; }
  .arrow { position: absolute; right: 0.72rem; bottom: 0.72rem; width: 31px; height: 31px; }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    text-align: center;
  }

  .site-footer { min-height: 200px; }

  .footer-intro h2 { font-size: 1.5rem; }
  .footer-intro p { font-size: 0.78rem; }
  .contact { width: 100%; }
  .contact-link { padding: 0.18rem 0.75rem; }
  .contact-link:first-child { padding-left: 0; border-left: 0; }
  .legal { text-align: center; }
}

@media (max-width: 390px) {
  .brand-card__content { padding-right: 0; }
  .brand-card p { padding-right: 1.5rem; }
  .contact { grid-template-columns: 1fr; gap: 0.4rem; }
  .contact-link { padding: 0.3rem 0; border-left: 0; }
  .contact-link + .contact-link {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .page { gap: 0.8rem; padding-top: 1.2rem; }
  .group-mark__name { font-size: 2rem; }
  .brand-card { min-height: 150px; padding-block: 0.95rem; }
  .intro h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
  main { margin-top: 1rem; }
  .site-footer { padding-top: 0.9rem; padding-bottom: 0.55rem; }
  .footer-intro p { font-size: 0.78rem; }
}

@media (max-height: 700px) and (max-width: 760px) {
  .page { gap: 0.62rem; padding-top: 0.8rem; }
  .group-mark__name { font-size: 1.62rem; }
  .group-mark__descriptor { font-size: 0.42rem; }
  main { gap: 0.7rem; margin-top: 0.45rem; }
  .intro h1 { font-size: 1.78rem; }
  .intro__copy { font-size: 0.79rem; }
  .brand-card { min-height: 112px; padding: 0.68rem 0.8rem; }
  .brand-card__logo { height: 56px; }
  .brand-card p { font-size: 0.69rem; }
  .brand-name { margin-bottom: 0.1rem; font-size: 0.9rem; }
  .brand-kicker { display: none; }
  .site-footer { padding-top: 0.72rem; padding-bottom: 0.45rem; }
  .footer-intro h2 { font-size: 1.05rem; }
  .footer-intro p { font-size: 0.65rem; }
  .contact-link__label { font-size: 0.52rem; }
  .contact-link__value, .legal { font-size: 0.62rem; }
}
