/* Cabrera's hero mockups: shared client tokens */
:root {
  --black: #0A0A0A;
  --ink: #141414;
  --gold: #C4AA71;
  --gold-hi: #E2CC96;
  --gold-solid: #CDAA5C;
  --gold-dark: #8A7240;
  --cream: #F7F3EA;
  --white: #FFFFFF;
  --muted: #6B665C;
  --on-dark: #EDE8DD;
  --on-dark-2: #B7AF9F;
  --serif: "Abril Fatface", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 400 16px/1.55 var(--sans); color: var(--ink); background: var(--black); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* header */
.hd { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; gap: 32px; padding: 22px clamp(20px, 4vw, 56px); }
.hd .brand { display: flex; align-items: center; gap: 12px; }
.hd .brand img.c { width: 44px; height: 44px; }
.hd .brand img.w { height: 26px; width: auto; }
.hd nav { display: flex; gap: 26px; margin-left: auto; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hd nav a { opacity: .85; }
.hd nav a:hover { opacity: 1; }
.hd .icons { display: flex; gap: 16px; align-items: center; }
.hd .icons svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.hd .burger { display: none; }
.on-dark .hd { color: var(--on-dark); }
.on-light .hd { color: var(--ink); }

/* buttons: solid at rest; on hover they go clear and a light runs around a gold rim */
@property --rim { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--rim), var(--rim-base) 0deg, var(--rim-base) 230deg, var(--rim-hi) 290deg, #FFFFFF 310deg, var(--rim-hi) 330deg, var(--rim-base) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease); animation: rim 2.4s linear infinite; animation-play-state: paused; }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; animation-play-state: running; }
@keyframes rim { to { --rim: 360deg; } }
.btn { --rim-base: #B8954A; --rim-hi: #F6E2AE; }
.btn:focus-visible { outline: none; }
/* the light runs around every button all the time; each one starts at a different point */
.btn::before { opacity: 1; animation-play-state: running; animation-duration: 3.2s; }
.btn:hover::before, .btn:focus-visible::before { animation-duration: 1.6s; }
.btn:nth-of-type(2n)::before { animation-delay: -1.1s; }
.btn-gold { --rim-base: #A98844; --rim-hi: #FFF1CC; }
.btn-black { --rim-base: #8A7240; --rim-hi: #F6E2AE; }
.btn-gold:hover, .btn-gold:focus-visible { --rim-base: #B8954A; --rim-hi: #F6E2AE; }
.card .add { position: relative; isolation: isolate; --rim-base: #8A7240; --rim-hi: #F6E2AE; }
.card .add::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--rim), var(--rim-base) 0deg, var(--rim-base) 230deg, var(--rim-hi) 290deg, #FFFFFF 310deg, var(--rim-hi) 330deg, var(--rim-base) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: rim 3.2s linear infinite; }

.btn-gold { background: var(--gold-solid); color: var(--black); }
.btn-gold:hover, .btn-gold:focus-visible { background: rgba(205,170,92,.06); color: var(--gold-hi); box-shadow: 0 0 24px -6px rgba(214,178,98,.6), inset 0 0 16px -8px rgba(214,178,98,.6); }
.btn-line-light { border-color: rgba(237,232,221,.4); color: var(--on-dark); }
.btn-line-light:hover, .btn-line-light:focus-visible { border-color: transparent; color: var(--gold-hi); box-shadow: 0 0 24px -6px rgba(214,178,98,.5); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover, .btn-black:focus-visible { background: transparent; color: var(--ink); box-shadow: 0 0 22px -6px rgba(184,149,74,.55); }
.btn-line-dark { border-color: rgba(20,20,20,.25); color: var(--ink); }
.btn-line-dark:hover, .btn-line-dark:focus-visible { border-color: transparent; box-shadow: 0 0 22px -6px rgba(184,149,74,.5); }

.eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
h1 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.005em; text-wrap: balance; }

/* entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; } .d4 { animation-delay: .6s; } .d5 { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hd { gap: 12px; padding: 16px 20px; }
  .hd nav { display: none; }
  .hd .icons { margin-left: auto; }
  .hd .burger { display: block; }
  .hd .brand img.c { width: 36px; height: 36px; }
  .hd .brand img.w { height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  .btn::before, .card .add::after { animation: none; background: var(--rim-base); }
}
