/* Vandera Group LLC — site styles */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #0f0f0f;
  --surface: #181818;
  --sage: #1c1c1c;
  --sage-2: #262626;
  --ink: #ededea;
  --muted: #a6a6a0;
  --pine: #d4af5a;
  --on-pine: #141414;
  --sun: #d9b865;
  --sun-soft: #332b19;
  --gold-ink: #d9b865;
  --line: #2b2b2b;
  --band: #1a1a1a;
  --band-ink: #ededea;
  --band-muted: #a6a6a0;
  --focus: #d9b865;
  --art: #2c2c2c;
  color-scheme: dark;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --wide: 70rem;
  --measure: 38rem;
}


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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--ink);
  text-decoration-color: var(--sun);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.9rem;
  background: var(--pine);
  color: var(--on-pine);
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wide) + 3rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-stretch: 112%;
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.975rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-contact {
  color: var(--on-pine);
  background: var(--pine);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.site-nav .nav-contact:hover {
  color: var(--on-pine);
}

@media (max-width: 44rem) {
  .site-nav .nav-link {
    display: none;
  }
}

.wordmark .mark {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--pine);
  color: var(--on-pine);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--pine);
}

/* ---------- Hero ---------- */

.hero {
  padding: 2.5rem 0 5rem;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--sun-soft);
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.3;
}

.status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--sun);
  flex: none;
}

.hero h1 {
  margin: 1.4rem 0 0;
  font-size: clamp(2.9rem, 6.6vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h1-line {
  display: block;
}

.tm {
  font-size: 0.5em;
  font-weight: 600;
  line-height: 0;
  vertical-align: 0.95em;
  margin-left: 0.08em;
  letter-spacing: 0.02em;
}

.hero .lede {
  margin: 1.4rem 0 0;
  max-width: 31rem;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Arch with the dog illustration */
.art {
  position: relative;
  width: 100%;
  max-width: 25rem;
  justify-self: end;
  aspect-ratio: 2 / 3;
  border-radius: 999px 999px 32px 32px;
  background: var(--art);
  overflow: hidden;
}



.art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .collar-art .swing {
    transform-box: view-box;
    transform-origin: 100px 81.5px;
    animation: tag-swing 2.6s ease-out 0.5s 1 both;
  }

  @keyframes tag-swing {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(7deg); }
    35% { transform: rotate(-5deg); }
    55% { transform: rotate(3deg); }
    75% { transform: rotate(-1.5deg); }
    100% { transform: rotate(0deg); }
  }
}

@media (max-width: 52rem) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .art {
    justify-self: start;
    max-width: 19rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 5.5rem 0;
  scroll-margin-top: 0.5rem;
}

.section-alt {
  background: var(--sage);
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section .intro {
  margin: 0.9rem 0 0;
  max-width: var(--measure);
  font-size: 1.15rem;
  color: var(--muted);
}

/* About: heading column + text column */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
}

.split .prose p {
  margin: 0 0 1.1rem;
  max-width: var(--measure);
}

.split .prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 52rem) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* How we operate */
.ops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3.5rem;
  max-width: 60rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.ops li {
  padding-top: 1.5rem;
  border-top: 2px solid var(--line);
}

.icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--gold-ink);
}

.icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ops h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.ops p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 36rem) {
  .ops {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ops li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    padding-top: 1.25rem;
  }

  .ops .icon {
    grid-row: span 2;
  }

  .ops h3 {
    margin-top: 0.1rem;
  }
}

/* Company record */
.record {
  margin: 2.5rem 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--sun);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(13rem, 0.9fr) minmax(0, 2fr);
}

.record dt,
.record dd {
  margin: 0;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.record dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: calc(1rem + 0.06rem);
}

.record dd {
  font-weight: 500;
}

.record dt:last-of-type,
.record dd:last-of-type {
  border-bottom: 0;
}


@media (max-width: 40rem) {
  .record {
    grid-template-columns: 1fr;
  }

  .record dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .record dd {
    padding-top: 0.15rem;
  }
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
  max-width: 50rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: #141414;
  color: #d4af5a;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 6px var(--sun-soft);
}

.founder h3 {
  margin: 0.3rem 0 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.founder .role {
  margin: 0.2rem 0 0.9rem;
  font-weight: 600;
  color: var(--gold-ink);
}

.founder p {
  margin: 0 0 1rem;
  max-width: var(--measure);
}

@media (max-width: 36rem) {
  .founder {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Contact band */
.contact {
  background: var(--band);
  color: var(--band-ink);
  --focus: var(--sun);
}

.contact h2 {
  color: var(--band-ink);
}

.contact .intro {
  color: var(--band-muted);
}

.contact .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact .btn-sun {
  background: var(--sun);
  color: #141414;
}

.contact .btn-sun:hover {
  filter: brightness(1.05);
}

.contact .btn-line {
  color: var(--band-ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}

.contact .btn-line:hover {
  box-shadow: inset 0 0 0 1.5px var(--band-ink);
}

.contact .fine {
  margin: 2rem 0 0;
  max-width: 44rem;
  color: var(--band-muted);
  font-size: 0.975rem;
}

.contact .fine p {
  margin: 0 0 0.35rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 3.5rem;
  color: var(--muted);
  font-size: 0.925rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.site-footer .wordmark {
  font-size: 1.3rem;
}

.site-footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-self: flex-end;
}

.footer-links a {
  color: var(--muted);
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 3.5rem 0 5rem;
}

.legal .wrap > * {
  max-width: 44rem;
}

.legal h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.legal .updated {
  margin: 0.9rem 0 2.75rem;
  color: var(--muted);
}

.legal h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.legal p {
  margin: 0 0 1rem;
}


/* =========================================================
   Marca nueva, encabezado y pie oscuros
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #141414;
  transition: box-shadow 0.3s ease;
}

.site-header .wrap {
  min-height: 5rem;
  transition: min-height 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.site-header.scrolled .wrap {
  min-height: 3.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-lockup {
  display: block;
  height: 2.4rem;
  width: auto;
  aspect-ratio: 1022.5 / 178.8;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand-lockup {
  height: 2rem;
}

.brand-lockup.small {
  height: 1.9rem;
}

.brand-sym {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-sym {
  transform: rotate(-10deg) scale(1.06);
}

.site-nav a {
  color: #c9c9c2;
}

.site-nav a:hover {
  color: #ffffff;
}

.site-nav .nav-contact,
.site-nav .nav-contact:hover {
  background: #d4af5a;
  color: #141414;
}

.site-footer {
  background: #141414;
  color: #a9a9a2;
  border-top: 1px solid #2a2a2a;
}

.site-footer .footer-links a {
  color: #deded7;
}

.site-footer p {
  margin-top: 0.5rem;
}

.site-footer .brand {
  margin-bottom: 0.4rem;
}

/* Botones: brillo al pasar el mouse */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-1px);
}

/* Íconos que reaccionan */
.icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.ops li:hover .icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--sun-soft);
}

/* Costura dorada debajo de cada título de sección */
.section h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  margin-top: 0.8rem;
  border-top: 2px dashed var(--sun);
}

/* Medalla que se puede empujar */
#tag {
  cursor: pointer;
}

.art svg {
  transition: transform 0.25s ease-out;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrada de la portada: la correa se dibuja, aparecen la costura y los herrajes, cae la medalla y se balancea */
  .collar-art .strap {
    stroke-dasharray: 1;
    animation: strap-draw 1.1s 0.15s cubic-bezier(0.65, 0.05, 0.25, 1) both;
  }

  .collar-art .stitch-g,
  .collar-art .dring-g {
    animation: fade-in 0.5s 1.05s ease both;
  }

  .collar-art .hardware .pop {
    transform-box: fill-box;
    transform-origin: center;
    animation: pop-in 0.55s 1.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  .collar-art .drop {
    animation: tag-drop 0.7s 1.25s cubic-bezier(0.3, 1.35, 0.6, 1) both;
  }

  .collar-art .swing {
    transform-box: view-box;
    transform-origin: 100px 72.5px;
    animation: tag-swing 2.6s 1.75s ease-out 1 both;
  }

  .collar-art .swing.swing-a {
    animation: tag-swing-a 1.9s ease-out 1 both;
  }

  .collar-art .swing.swing-b {
    animation: tag-swing-b 1.9s ease-out 1 both;
  }

  .hero h1,
  .hero .status,
  .hero .lede,
  .hero .actions {
    animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero .status { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.15s; }
  .hero .lede { animation-delay: 0.3s; }
  .hero .actions { animation-delay: 0.45s; }

  /* Secciones que aparecen al hacer scroll */
  .js .reveal .wrap > *,
  .js .reveal .ops li {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js .reveal.in .wrap > *,
  .js .reveal.in .ops li {
    opacity: 1;
    transform: none;
  }

  .js .reveal.in .wrap > *:nth-child(2) { transition-delay: 0.1s; }
  .js .reveal.in .wrap > *:nth-child(3) { transition-delay: 0.2s; }
  .js .reveal.in .ops li:nth-child(1) { transition-delay: 0.15s; }
  .js .reveal.in .ops li:nth-child(2) { transition-delay: 0.25s; }
  .js .reveal.in .ops li:nth-child(3) { transition-delay: 0.35s; }
  .js .reveal.in .ops li:nth-child(4) { transition-delay: 0.45s; }

  /* La costura del título se "cose" al aparecer */
  .js .reveal h2::after {
    width: 0;
    transition: width 1.1s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js .reveal.in h2::after {
    width: 4.5rem;
  }

  @keyframes strap-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }

  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes tag-drop {
    from { opacity: 0; transform: translateY(-34px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

  @keyframes tag-swing-a {
    0% { transform: rotate(0deg); }
    12% { transform: rotate(-9deg); }
    32% { transform: rotate(6deg); }
    52% { transform: rotate(-3.5deg); }
    74% { transform: rotate(1.5deg); }
    100% { transform: rotate(0deg); }
  }

  @keyframes tag-swing-b {
    0% { transform: rotate(0deg); }
    12% { transform: rotate(9deg); }
    32% { transform: rotate(-6deg); }
    52% { transform: rotate(3.5deg); }
    74% { transform: rotate(-1.5deg); }
    100% { transform: rotate(0deg); }
  }
}

/* Al imprimir o guardar como PDF, todo el contenido visible */
@media print {
  .js .reveal .wrap > *,
  .js .reveal .ops li {
    opacity: 1 !important;
    transform: none !important;
  }
}
