/* ============================================================
   Vela-Intimo — Site styles (extends colors_and_type.css)
   ============================================================ */

/* ----- Photo placeholders -----
   Brand-tone gradients standing in for product photography
   until the photo team supplies real shots. Tagged so the
   user can grep them and swap. */

.vi-photo {
  background: linear-gradient(160deg, #d9c9c1 0%, #b09889 60%, #8d6e64 100%);
  position: relative;
  overflow: hidden;
}
.vi-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(0,0,0,0.12), transparent 60%);
  pointer-events: none;
}
.vi-photo::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.35 0 0 0 0 0.32 0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.vi-photo.tone-blush  { background: linear-gradient(160deg, #efe3dd 0%, #d4bdb3 55%, #b09889 100%); }
.vi-photo.tone-powder { background: linear-gradient(165deg, #e9dcd5 0%, #c8b4ab 70%); }
.vi-photo.tone-wine   { background: linear-gradient(160deg, #7a2a39 0%, #4a1820 100%); }
.vi-photo.tone-ink    { background: linear-gradient(170deg, #2d2222 0%, #120909 100%); }
.vi-photo.tone-cloud  { background: linear-gradient(160deg, #f8f6f4 0%, #e6dfd9 100%); }
.vi-photo.tone-bronze { background: linear-gradient(160deg, #c69d8c 0%, #8a5e4d 70%); }
.vi-photo.tone-rose   { background: linear-gradient(160deg, #d4a89e 0%, #94645a 100%); }

.vi-photo .ph-cap {
  position: absolute; bottom: 18px; left: 20px;
  font-family: var(--font-text); font-weight: 300; font-size: 9px;
  letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255,255,255,0.78);
  z-index: 2;
}
.vi-photo.tone-cloud .ph-cap,
.vi-photo.tone-blush .ph-cap,
.vi-photo.tone-powder .ph-cap { color: rgba(103,35,49,0.6); }

/* ----- Reset & util ----- */
* { box-sizing: border-box; }
button { font: inherit; cursor: pointer; }

/* ----- Top thin announcement bar ----- */
.vi-announce {
  background: var(--vi-c01);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vi-c03);
  text-align: center;
  padding: 12px 0;
  position: relative;
}
.vi-announce .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--vi-c03); cursor: pointer;
}
.vi-announce .arrow.left { left: 24px; }
.vi-announce .arrow.right { right: 24px; }

/* ----- Top nav ----- */
.vi-nav {
  background: var(--vi-c01);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.vi-nav .left { display: flex; align-items: center; gap: 18px; }
.vi-nav .right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.vi-nav .center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vi-nav .logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 0.36em;
  color: var(--vi-c03);
  line-height: 1;
}
.vi-nav .tag {
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 8px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--vi-powder-50);
}
.vi-nav .search-trigger {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--vi-c03);
  border: 0; padding: 8px 0; background: transparent;
  border-bottom: 1px solid var(--vi-powder-70);
}
.vi-nav .ico { width: 18px; height: 18px; stroke: var(--vi-c03); fill: none; stroke-width: 1.1; }
.vi-nav .lang {
  font-family: var(--font-text); font-weight: 300; font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--vi-c03);
  display: flex; gap: 4px; align-items: center;
}
.vi-nav .lang .sep { color: var(--vi-powder-70); }
.vi-nav .lang .active { border-bottom: 1px solid var(--vi-c03); padding-bottom: 2px; }

/* secondary horizontal nav row */
.vi-subnav {
  display: flex; justify-content: center; gap: 36px;
  padding: 16px 32px 18px;
  background: var(--vi-c01);
  border-bottom: 1px solid var(--hairline);
}
.vi-subnav a {
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--vi-c03);
  border: 0; padding: 2px 0;
  cursor: pointer;
  transition: opacity var(--dur-1) var(--ease);
}
.vi-subnav a:hover { opacity: 0.55; }
.vi-subnav a.active { border-bottom: 1px solid var(--vi-c03); }
.vi-subnav a.open { opacity: 0.55; }

/* ----- Mega-menu (editorial split panel) ----- */
.vi-meganav { position: relative; z-index: 60; }

.vi-mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--vi-c01);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease),
              visibility 0s linear var(--dur-2);
}
.vi-mega-panel.is-open {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease);
}
.vi-mega-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 52px 64px 60px;
  display: grid; grid-template-columns: 1fr 360px; gap: 80px;
  align-items: start;
}
.vi-mega-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; }
.vi-mega-h {
  display: block;
  font-family: var(--font-text); font-weight: 300;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--vi-powder-50);
  margin: 0 0 26px;
}
.vi-mega-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.vi-mega-col a {
  font-family: var(--font-display); font-weight: 300;
  font-size: 22px; line-height: 1.05; letter-spacing: -0.005em;
  color: var(--vi-c03); border: 0; padding: 0; cursor: pointer;
  transition: opacity var(--dur-1) var(--ease);
}
.vi-mega-col a:hover { opacity: 0.5; }

.vi-mega-feat { cursor: pointer; display: flex; flex-direction: column; }
.vi-mega-feat .vi-photo { width: 100%; }
.vi-mega-feat-kicker {
  font-family: var(--font-text); font-weight: 300;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--vi-powder-50); margin-top: 18px;
}
.vi-mega-feat-title {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 26px; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--vi-c03); margin-top: 10px;
}
.vi-mega-feat-cta {
  font-family: var(--font-text); font-weight: 300;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--vi-c03); margin-top: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start; border-bottom: 1px solid var(--vi-c03); padding-bottom: 6px;
}
.vi-mega-feat-cta .arr { font-family: var(--font-display); font-style: italic; font-size: 14px; }

/* ----- Footer ----- */
.vi-footer {
  background: var(--vi-c01);
  border-top: 1px solid var(--hairline);
  padding: 80px 64px 40px;
  color: var(--vi-c03);
}
.vi-footer .columns {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}
.vi-footer h5 {
  font-family: var(--font-text); font-weight: 300; font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--vi-powder-50);
  margin: 0 0 22px;
}
.vi-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vi-footer ul a {
  font-family: var(--font-text); font-weight: 300; font-size: 13px;
  color: var(--vi-c03); border: 0; padding: 0;
  letter-spacing: 0.04em;
}
.vi-footer ul a:hover { opacity: 0.55; }
.vi-footer .signup {
  display: flex; flex-direction: column; gap: 14px; max-width: 380px;
}
.vi-footer .signup .lede {
  font-family: var(--font-display); font-weight: 300; font-size: 28px;
  line-height: 1.15; letter-spacing: -0.01em; color: var(--vi-c03);
  font-style: italic;
}
.vi-footer .signup form {
  display: flex; gap: 0; align-items: stretch;
  border-bottom: 1px solid var(--vi-powder-70);
}
.vi-footer .signup input {
  flex: 1; background: transparent; border: 0; outline: 0;
  font-family: var(--font-text); font-weight: 300; font-size: 13px;
  color: var(--vi-c03); padding: 12px 0;
  letter-spacing: 0.04em;
}
.vi-footer .signup button {
  background: transparent; border: 0;
  font-family: var(--font-text); font-weight: 300; font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--vi-c03);
  padding: 12px 0 12px 16px;
}
.vi-footer .base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.18em; color: var(--vi-powder-50);
}
.vi-footer .base .legal { display: flex; gap: 28px; }
.vi-footer .base .legal a { color: var(--vi-powder-50); border: 0; padding: 0; }

/* ----- Section labels ----- */
.vi-eyebrow-big {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--vi-powder-50);
}
.vi-eyebrow-big::before {
  content: ''; display: inline-block; width: 32px; height: 1px;
  background: var(--vi-powder-70);
}

/* ----- Generic CTA ----- */
.vi-cta-hair {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--vi-c03);
  border: 0; padding: 14px 0;
  border-bottom: 1px solid var(--vi-c03);
  background: transparent;
  transition: opacity var(--dur-1) var(--ease);
}
.vi-cta-hair:hover { opacity: 0.55; }
.vi-cta-hair .arr {
  font-family: var(--font-display); font-style: italic; font-size: 16px; letter-spacing: 0;
  transform: translateY(-1px);
}
.vi-cta-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--vi-c01);
  background: var(--vi-c03);
  border: 0; padding: 18px 36px;
  transition: background var(--dur-2) var(--ease);
}
.vi-cta-solid:hover { background: var(--vi-wine-60); }

/* ----- Order modal ----- */
.vi-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26, 20, 20, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: fadeIn 0.32s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.vi-modal {
  background: var(--vi-c01);
  width: 100%; max-width: 680px;
  display: grid; grid-template-columns: 240px 1fr;
  animation: rise 0.4s var(--ease);
  max-height: 90vh; overflow: auto;
}
.vi-modal .preview {
  background: var(--vi-c02);
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.vi-modal .preview .photo {
  aspect-ratio: 3/4;
}
.vi-modal .preview h4 {
  font-family: var(--font-display); font-weight: 300;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; color: var(--vi-c03);
  margin: 18px 0 4px;
}
.vi-modal .preview .meta {
  font-family: var(--font-text); font-weight: 300; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--vi-c03); opacity: 0.7;
}
.vi-modal .preview .price {
  font-family: var(--font-text); font-weight: 300; font-size: 14px;
  letter-spacing: 0.06em; color: var(--vi-c03);
  margin-top: 14px;
}
.vi-modal .form {
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.vi-modal .form .close {
  position: absolute; top: 18px; right: 18px;
  background: transparent; border: 0; padding: 6px;
  color: var(--vi-c03);
}
.vi-modal .form h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: 32px; line-height: 1; letter-spacing: -0.01em; color: var(--vi-c03);
  margin: 0;
}
.vi-modal .form .lede {
  font-family: var(--font-text); font-weight: 300; font-size: 13px;
  line-height: 1.55; color: var(--vi-c03); margin: -8px 0 8px;
}
.vi-modal .form label {
  font-family: var(--font-text); font-weight: 300; font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--vi-powder-50);
  margin-bottom: 6px; display: block;
}
.vi-modal .form input, .vi-modal .form select, .vi-modal .form textarea {
  width: 100%;
  background: transparent; border: 0; outline: 0;
  border-bottom: 1px solid var(--vi-powder-70);
  font-family: var(--font-text); font-weight: 300; font-size: 14px;
  color: var(--vi-c03); padding: 6px 0; letter-spacing: 0.02em;
  resize: none;
}
.vi-modal .form input:focus, .vi-modal .form select:focus, .vi-modal .form textarea:focus {
  border-bottom-color: var(--vi-c03);
}
.vi-modal .form .size-row { display: flex; gap: 8px; margin-top: 4px; }
.vi-modal .form .size {
  font-family: var(--font-text); font-size: 11px; letter-spacing: 0.18em;
  color: var(--vi-c03); border: 1px solid var(--vi-powder-70); padding: 8px 14px; cursor: pointer;
}
.vi-modal .form .size.active { background: var(--vi-c03); color: var(--vi-c01); border-color: var(--vi-c03); }
.vi-modal .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ----- Mobile shell ----- */
.vi-mobile {
  width: 390px;
  background: var(--vi-c01);
  font-family: var(--font-text);
  color: var(--vi-c03);
}
.vi-mobile .topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
}
.vi-mobile .topbar .logo {
  font-family: var(--font-display); font-weight: 300; font-size: 18px;
  letter-spacing: 0.36em; color: var(--vi-c03);
}
.vi-mobile .topbar .ico {
  width: 16px; height: 16px; stroke: var(--vi-c03); fill: none; stroke-width: 1.2;
}
