/* Sempre Viva Joias — links landing
   "Minimal luxury bloom": sand canvas, brand green accents, brand red touches.
   Brand palette: red #591214 · green #323F24 · black #121212 */

:root {
  --cream: #f6f1e9;
  --cream-deep: #efe7db;
  --ink: #121212;
  --ink-soft: #55524b;
  --green: #323f24;
  --green-soft: #5c6e47;
  --red: #591214;
  --line: rgba(18, 18, 18, 0.16);
  --radius: 6px;
  --maxw: 480px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Gilroy Light — brand typeface (free weight by Radomir Tinkov), self-hosted */
@font-face {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Gilroy-Light.woff") format("woff");
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Gilroy", "Jost", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 70% at 50% -10%, #fbf7f0 0%, var(--cream) 46%, var(--cream-deep) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.25rem, 7vw, 3.5rem) clamp(1.25rem, 5vw, 1.75rem) 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

/* Subtle staggered entrance */
.hero, .divider, .links, .video, .manifesto, .footer {
  animation: rise 0.9s var(--ease) both;
}
.divider { animation-delay: 0.05s; }
.links { animation-delay: 0.1s; }
.video { animation-delay: 0.16s; }
.manifesto { animation-delay: 0.22s; }
.footer { animation-delay: 0.28s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.hero__portrait {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(150deg, var(--green-soft), var(--green));
  box-shadow: 0 10px 30px -12px rgba(18, 18, 18, 0.35);
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--cream);
  display: block;
}

.hero__logo {
  width: clamp(190px, 58vw, 240px);
  height: auto;
  margin-top: 0.35rem;
}

.hero__handle {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}

.hero__location {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.icon-pin { width: 14px; height: 14px; fill: var(--green); }

.hero__tagline {
  margin: 0.4rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero__tagline .orn {
  color: var(--red);
  font-style: normal;
  letter-spacing: 0.1em;
}

/* ---------- Divider ---------- */
.divider {
  width: min(240px, 62%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.divider__line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.divider__mark {
  height: 15px;
  width: auto;
  opacity: 0.9;
}

/* ---------- Links ---------- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
/* green sweep on hover */
.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.link-btn > * { position: relative; z-index: 1; }

.link-btn__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  transition: color 0.35s var(--ease);
}
.link-btn__icon svg { width: 100%; height: 100%; fill: var(--green); transition: fill 0.35s var(--ease); }

.link-btn__label {
  flex: 1 1 auto;
  text-align: center;
  font-weight: 400;
}

.link-btn__chev {
  flex: 0 0 auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  color: var(--cream);
}

@media (hover: hover) {
  .link-btn:hover {
    color: var(--cream);
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -16px rgba(18, 18, 18, 0.6);
  }
  .link-btn:hover::before { transform: translateX(0); }
  .link-btn:hover .link-btn__icon svg { fill: var(--cream); }
  .link-btn:hover .link-btn__chev { opacity: 1; transform: translateX(0); }
}
.link-btn:active { transform: translateY(0); }
.link-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Video ---------- */
.video { width: 100%; }
.video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(18, 18, 18, 0.5);
  background: var(--cream-deep);
}
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Manifesto ---------- */
.manifesto {
  text-align: center;
  max-width: 38ch;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.manifesto p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.12rem, 4.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.manifesto p:last-child {
  font-style: italic;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 1px; }
.footer a:hover { color: var(--red); }
.footer__sep { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
