:root {
  --ink: #17130f;
  --muted: #776f65;
  --paper: rgba(251, 248, 241, 0.96);
  --paper-solid: #fbf8f1;
  --gold: #dbbe6c;
  --gold-ink: #8d7127;
  --gold-light: #ead89e;
  --line: rgba(91, 70, 38, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #0c0a08;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(6, 5, 4, 0.27), rgba(6, 5, 4, 0.68)),
    url("assets/joias-editorial.png") center 60% / cover fixed;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 38px 18px;
}

.page-shell::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(223, 200, 145, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 36%, transparent 64%, rgba(0, 0, 0, 0.24));
  content: "";
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(218, 184, 112, 0.16);
  border-radius: 50%;
}

.ambient--one {
  top: -150px;
  right: -90px;
}

.ambient--two {
  bottom: -190px;
  left: -100px;
  width: 340px;
  height: 340px;
}

.profile-card {
  position: relative;
  width: min(100%, 470px);
  padding: 42px 36px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile-card::after {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  content: "";
}

.brand-header {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.brand-logo {
  display: grid;
  width: 86px;
  height: 118px;
  margin-bottom: 16px;
  place-items: center;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 112px;
  filter: drop-shadow(0 8px 12px rgba(87, 65, 19, 0.12));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(2.25rem, 9vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

h1 em {
  color: var(--gold-ink);
  font-style: normal;
}

.positioning {
  margin: 17px 0 29px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
}

.links {
  display: grid;
  gap: 11px;
}

.link-button {
  display: grid;
  min-height: 64px;
  align-items: center;
  grid-template-columns: 40px 1fr 40px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(80, 60, 28, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-button:hover {
  border-color: rgba(174, 137, 71, 0.64);
  color: var(--gold-ink);
  background: #fffdf9;
  box-shadow: 0 11px 25px rgba(80, 60, 28, 0.09);
  transform: translateY(-2px);
}

.link-button:active {
  transform: translateY(0) scale(0.99);
}

.link-button:focus-visible {
  outline: 3px solid rgba(174, 137, 71, 0.34);
  outline-offset: 3px;
}

.link-button__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--gold-ink);
  background: rgba(219, 190, 108, 0.18);
}

.link-button--featured {
  border-color: var(--gold);
  color: #211b0f;
  background: linear-gradient(135deg, #e6ce88, var(--gold));
  box-shadow: 0 10px 24px rgba(126, 94, 17, 0.18);
}

.link-button--featured:hover {
  border-color: #caaa51;
  color: #17130f;
  background: linear-gradient(135deg, #ecd999, #d8b85e);
}

.link-button--featured .link-button__icon {
  color: #2e2514;
  background: rgba(255, 255, 255, 0.3);
}

.link-button--featured .link-button__arrow {
  color: #5f4c1d;
}

.link-button__icon svg,
.link-button__arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.link-button__label {
  padding: 0 8px;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.link-button__arrow {
  display: grid;
  place-items: center;
  color: #a69b89;
}

.link-button__arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.link-button:hover .link-button__arrow svg {
  transform: translateX(3px);
}

.signature {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 18px 1fr;
  gap: 13px;
  margin: 26px 45px 17px;
  color: var(--gold-ink);
}

.signature span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.signature span:last-child {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.signature svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

footer p {
  margin: 0;
  color: #827867;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.8;
  text-transform: uppercase;
}

footer .copyright {
  margin-top: 8px;
  color: #aaa091;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    align-items: end;
    padding: 76px 0 0;
  }

  .profile-card {
    width: 100%;
    padding: 37px 20px 25px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 30px 30px 0 0;
  }

  .brand-logo {
    height: 105px;
  }

  .brand-logo img {
    height: 100px;
  }

  .positioning {
    margin-bottom: 25px;
  }
}

@media (max-width: 370px) {
  .profile-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .link-button {
    grid-template-columns: 38px 1fr 34px;
  }
}

@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;
  }
}
