/* =====================================================================
   Pebble Construction — floating dock + accessibility options
   ===================================================================== */
.dock { display: none; }

@media (min-width: 760px) {
  .dock {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 9px 9px 9px 12px;
    border-radius: 999px;
    background: rgba(18, 26, 36, .88);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55), 0 2px 0 rgba(255, 255, 255, .04) inset;
    color: var(--white);
    font-size: 14px;
    transform: translate(-50%, 140%);
    opacity: 0;
    transition: transform .8s cubic-bezier(.2, .9, .2, 1), opacity .5s;
  }
  .dock.is-on { transform: translate(-50%, 0); opacity: 1; }
  body.menu-open .dock, body.drawer-open .dock { transform: translate(-50%, 140%); opacity: 0; }

  /* brass hairline on top edge */
  .dock::before {
    content: "";
    position: absolute;
    left: 40px; right: 40px; top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 180, 138, .7), transparent);
  }

  .dock svg {
    width: 17px; height: 17px;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    flex: none;
  }

  .dock__top, .dock__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
    white-space: nowrap;
    transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
  }
  .dock__top { padding: 0 14px 0 11px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
  .dock__top:hover, .dock__pill:hover, .dock__pill[aria-expanded="true"] {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(214, 180, 138, .6);
    color: var(--white);
  }
  .dock__top:hover svg { transform: translateY(-2px); }
  .dock__top svg { transition: transform .3s var(--ease); }
  .dock__pill svg { color: var(--brass-2); }

  .dock__brand { display: inline-flex; align-items: center; gap: 10px; padding-right: 6px; }
  .dock__brand .brand__mark {
    width: 38px; height: 38px;
    font-size: 16px;
    border: 1px solid rgba(214, 180, 138, .6);
    background: transparent;
    color: var(--brass-2);
  }
  .dock__name { display: flex; flex-direction: column; line-height: 1.1; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .16); }
  .dock__name strong { font-family: var(--serif); font-weight: 400; font-size: 17px; }
  .dock__name small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }

  .dock__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
  }
  .dock__badge svg { color: var(--brass-2); width: 15px; height: 15px; }

  .dock__status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 8px;
    color: rgba(255, 255, 255, .8);
    white-space: nowrap;
  }
  .dock__status i {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brass-2);
  }
  .dock__status.is-open i { background: #5fd38a; }
  .dock__status.is-open i::after {
    content: "";
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid #5fd38a;
    animation: dockPing 1.8s ease-out infinite;
  }
  .dock__status.is-closed i { background: #d9a05b; }
  @keyframes dockPing { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

  .dock__tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--white);
    white-space: nowrap;
    transition: color .3s;
  }
  .dock__tel svg { color: var(--brass-2); width: 19px; height: 19px; }
  .dock__tel:hover { color: var(--brass-2); }

  .dock__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--brass);
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 10px 24px -10px rgba(184, 137, 90, .8);
  }
  .dock__cta::before {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background: var(--brass-2);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
  }
  .dock__cta:hover::before { transform: none; }
  .dock__cta svg { stroke-width: 2.2; transition: transform .4s var(--ease); }
  .dock__cta:hover svg { transform: rotate(45deg); }

  /* accessibility popover */
  .dock__a11y { position: relative; }
  .a11y {
    position: absolute;
    right: 0;
    bottom: calc(100% + 18px);
    width: 270px;
    padding: 18px;
    border-radius: 20px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
    border: 1px solid var(--line);
    animation: a11yIn .35s var(--ease) both;
  }
  .a11y[hidden] { display: none; }
  @keyframes a11yIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
  .a11y__h { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
  .a11y__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
  }
  .a11y__row input { position: absolute; opacity: 0; pointer-events: none; }
  .a11y__row i {
    position: relative;
    width: 42px; height: 24px;
    border-radius: 999px;
    background: rgba(18, 26, 36, .15);
    transition: background .3s;
    flex: none;
  }
  .a11y__row i::after {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
  }
  .a11y__row input:checked + i { background: var(--brass); }
  .a11y__row input:checked + i::after { transform: translateX(18px); }
  .a11y__row input:focus-visible + i { outline: 2px solid var(--brass); outline-offset: 2px; }
  .a11y__reset { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
  .a11y__reset:hover { color: var(--ink); }

  /* keep page end visible above the dock */
  .ftr__bot { padding-bottom: 96px; }

  /* the back-to-top inside the dock replaces cursor-heavy reach */
  @media (max-width: 1440px) { .dock__badge { display: none; } }
  @media (max-width: 1240px) { .dock__name { display: none; } .dock__status { display: none; } }
  @media (max-width: 1040px) {
    .dock__pill { padding: 0 13px; font-size: 0; gap: 0; }
    .dock__pill svg { width: 19px; height: 19px; }
    .dock__top span { display: none; }
    .dock__top { padding: 0 12px; }
  }
  @media (max-width: 860px) { .dock__brand { display: none; } }
}

/* =====================================================================
   Accessibility modes (set on <html> by dock.js)
   ===================================================================== */
html.a11y-text body { zoom: 1.12; }
html.a11y-links a:not(.btn):not(.dock__cta):not(.dock__pill):not(.dock__top):not(.tile):not(.brand):not(.dock__brand):not(.fp__img) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-contrast {
  --muted: #3d3a35;
  --muted-l: rgba(255, 255, 255, .9);
  --line: rgba(18, 26, 36, .35);
  --line-l: rgba(255, 255, 255, .35);
}
html.a11y-contrast .intro__statement .w { opacity: 1 !important; }
html.a11y-contrast .hero__shade { background: rgba(10, 14, 20, .7); }
html.a11y-contrast body::after { display: none; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
}
html.a11y-motion body::after,
html.a11y-motion .btn--brass::after { display: none; }
html.a11y-motion .marquee__track { animation: none !important; transform: none !important; }
html.a11y-motion [data-reveal],
html.a11y-motion .h2.is-split .wm > span,
html.a11y-motion .ftr__word .ch { opacity: 1 !important; transform: none !important; }
html.a11y-motion .tile { clip-path: none !important; }
html.a11y-motion .intro__statement .w { opacity: 1 !important; }
html.a11y-motion .cursor { display: none; }
