  :root { --gold: #B8891F; }
  html, body { margin:0; padding:0; }
  body { -webkit-font-smoothing: antialiased; }
  .ms { font-family:'Material Symbols Outlined'; font-weight:normal; font-style:normal; line-height:1;
        letter-spacing:normal; text-transform:none; display:inline-block; white-space:nowrap;
        direction:ltr; -webkit-font-feature-settings:'liga'; -webkit-font-smoothing:antialiased;
        font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
  .eyebrow { font-family:Montserrat, sans-serif; font-weight:700; font-size:11px; letter-spacing:.18em; text-transform:uppercase; }
  .rule { height:1px; background:#E6E2D8; }
  .gold-text { color: var(--gold); }
  .hairline-btn { transition: all .25s cubic-bezier(.2,.8,.2,1); }
  .card { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
  .card:hover { transform: translateY(-5px); }
  .zoom img { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
  .zoom:hover img { transform: scale(1.055); }
  .dimmed { opacity:.32 !important; filter: grayscale(35%); }
  .dimmed, .lit { transition: opacity .45s ease, filter .45s ease, box-shadow .45s ease; }
  .lit { box-shadow: 0 0 0 1.5px var(--gold), 0 28px 50px -26px rgba(18,18,41,.3); }
  select { -webkit-appearance:none; appearance:none; background-image:none; }
  input:focus, select:focus, textarea:focus { outline:none; }

  /* section reveal */
  .reveal { opacity:0; transform: translateY(18px); }
  .reveal.in { opacity:1; transform:none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }

  /* listing cards fade in when a tab is switched */
  @keyframes fadeUp { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform:none; } }
  .listing-grid > a { animation: fadeUp .5s cubic-bezier(.2,.8,.2,1) both; }
  .listing-grid > a:nth-child(2) { animation-delay:.07s }
  .listing-grid > a:nth-child(3) { animation-delay:.14s }
  .listing-grid > a:nth-child(4) { animation-delay:.21s }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity:1; transform:none; }
    .zoom img { transition:none; }
    .listing-grid > a { animation:none; }
  }

/* ── archive pages ──────────────────────────────────────── */
.chip { transition: all .2s cubic-bezier(.2,.8,.2,1); }
.sidebar-sticky { position: sticky; top: 96px; }
@media (max-width: 1023px) { .sidebar-sticky { position: static; } }
.skeleton { background: linear-gradient(90deg,#EFEBE3 25%,#F7F4EE 37%,#EFEBE3 63%); background-size:400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }

/* ── navigation ─────────────────────────────────────────── */
.nav-caps {
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* 1024-1279: six caps items + two buttons only fit if the tracking tightens */
@media (min-width: 1024px) and (max-width: 1279px) { .nav-caps { font-size: 11px; letter-spacing: .05em; } }
@media (min-width: 1280px) { .nav-caps { font-size: 12.5px; letter-spacing: .12em; } }

/* ── responsive guards ──────────────────────────────────── */
img, video, iframe { max-width: 100%; }
body { overflow-x: hidden; }

/* hero text stays readable over a bright photograph without dimming it */
.hero-text { text-shadow: 0 1px 2px rgba(18,18,41,.35), 0 10px 40px rgba(18,18,41,.45); }

/* pill tab groups scroll rather than overflow on narrow phones */
.tabscroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabscroll::-webkit-scrollbar { display: none; }

/* ── floating action stack ──────────────────────────────── */
.fab { display: flex; align-items: center; gap: .6rem; background: none; border: 0; padding: 0; cursor: pointer; }
.fab-btn { width: 50px; height: 50px; border-radius: 9999px; display: grid; place-items: center; color: #fff;
           box-shadow: 0 2px 4px rgba(18,18,41,.12), 0 14px 30px -12px rgba(18,18,41,.5);
           transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.fab:hover .fab-btn { transform: scale(1.08); }
.fab-label { background: #121229; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap;
             padding: .45rem .75rem; border-radius: .5rem; opacity: 0; transform: translateX(8px);
             transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: none; }
@media (max-width: 640px) { .fab-label { display: none; } .fab-btn { width: 46px; height: 46px; } }

/* ── modals ─────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,18,41,.6); backdrop-filter: blur(3px);
                  animation: fadeIn .25s ease both; }
.modal-card { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
              background: #fff; border-radius: 1.25rem; padding: 1.75rem;
              box-shadow: 0 30px 70px -20px rgba(18,18,41,.55);
              animation: popIn .3s cubic-bezier(.2,.8,.2,1) both; }
.modal-card-wide { max-width: 720px; padding: 0; overflow: hidden; }
.modal-x { position: absolute; top: .85rem; right: .85rem; z-index: 2; width: 36px; height: 36px; border: 0;
           border-radius: 9999px; background: rgba(255,255,255,.9); color: #1C1C4D; display: grid;
           place-items: center; cursor: pointer; transition: background .2s; }
.modal-x:hover { background: #F2EEE6; }
.fld { width: 100%; height: 48px; padding: 0 1rem; border-radius: .75rem; background: #FAF8F4;
       border: 1px solid #E6E2D8; color: #1C1C4D; font-size: 14px; font-family: inherit; }
.fld:focus { border-color: #B8891F; background: #fff; outline: none; }
.fld::placeholder { color: #8A8CA3; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .modal-backdrop, .modal-card { animation: none } }

/* half-step section padding used between the stock scale */
.py-13 { padding-top: 3.25rem; padding-bottom: 3.25rem; }
@media (min-width:768px){ .md:py-13 { padding-top: 3.25rem; padding-bottom: 3.25rem; } }

/* ══ FORM FIELDS — pressed into the surface ═══════════════
   A dark shadow falls in from the top-left and a white
   highlight catches the bottom-right, with no border, so the
   field reads as a dent rather than a box drawn on top.
   Edges stay hard — there is no blur anywhere.              */
.field {
  width: 100%; height: 48px; padding: 0 1.35rem;
  border-radius: 9999px; border: 1px solid transparent;
  background: #F1EDE4; color: #1C1C4D;
  font-family: inherit; font-size: 14px; line-height: 1.4;
  box-shadow: inset 2px 3px 6px rgba(18,18,41,.14),
              inset -2px -2px 5px rgba(255,255,255,.95);
  transition: background .2s ease, box-shadow .22s ease;
  -webkit-appearance: none; appearance: none;
}
/* #9C9EB2 only reached 2.1:1 on the tinted fill — slate gives 5.5:1 */
.field::placeholder { color: #5A5C7A; }
.field:focus {
  outline: none;
  background: #F7F5F0;
  box-shadow: inset 2px 3px 7px rgba(18,18,41,.16),
              inset -2px -2px 5px rgba(255,255,255,.95),
              0 0 0 2px rgba(184,137,31,.5);
}
.field:disabled { opacity: .6; }

.field--lg   { height: 52px; }
.field--sm   { height: 46px; font-size: 13.5px; }
.field--icon { padding-left: 2.95rem; }
.field--sel  { padding-right: 2.6rem; }
.field--ta   { height: auto; padding: 1rem 1.35rem; border-radius: 1.5rem; resize: vertical; }

/* the icons that sit inside a field */
.field-ico   { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%);
               color: #B8891F; font-size: 19px; pointer-events: none; }
.field-caret { position: absolute; right: 1.15rem; top: 50%; transform: translateY(-50%);
               color: #9C9EB2; font-size: 19px; pointer-events: none; }

/* on the navy and ink panels the light has to come the other way */
.field-dark {
  background: rgba(0,0,0,.22); color: #fff; border-color: transparent;
  box-shadow: inset 2px 3px 7px rgba(0,0,0,.45),
              inset -1px -1px 2px rgba(255,255,255,.08);
}
.field-dark::placeholder { color: rgba(255,255,255,.62); }
.field-dark:focus {
  background: rgba(0,0,0,.28);
  box-shadow: inset 2px 3px 7px rgba(0,0,0,.5),
              inset -1px -1px 2px rgba(255,255,255,.08),
              0 0 0 2px rgba(224,177,75,.55);
}
.field-dark ~ .field-caret { color: rgba(255,255,255,.45); }

/* native date pickers keep their own control; nudge it inside the pill */
.field[type="date"]::-webkit-calendar-picker-indicator { margin-right: .15rem; opacity: .55; cursor: pointer; }

.ravi-nav-dropdown { position: relative; }
.ravi-nav-label { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.ravi-nav-dropdown summary { cursor: pointer; list-style: none; }
.ravi-nav-dropdown summary::-webkit-details-marker { display: none; }
.ravi-nav-chevron {
  width: .4rem;
  height: .4rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ravi-nav-dropdown[open] .ravi-nav-chevron { transform: translateY(1px) rotate(225deg); }
.ravi-nav-links { padding: 0 0 .5rem .65rem; }
.ravi-nav-links a {
  display: block;
  padding: .65rem .75rem;
  border-radius: .45rem;
  font-size: .875rem;
  color: #121229;
  white-space: nowrap;
}
.ravi-nav-links a:hover, .ravi-nav-links a:focus-visible { background: #f5f2eb; }
.ravi-nav-label:focus-visible, .ravi-nav-links a:focus-visible {
  outline: 2px solid #a17023;
  outline-offset: 2px;
}
#mobileNav { max-height: calc(100dvh - 112px); overflow-y: auto; }
#mobileNav .ravi-nav-label { justify-content: space-between; padding: .875rem 0; }

@media (min-width: 1024px) {
  .ravi-nav-dropdown summary { min-height: 44px; }
  .ravi-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    padding: .35rem;
    border: 1px solid #e9e4da;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 18, 41, .12);
  }
}
