/* ─────────────────────────────────────────
   EverStore — Professional Style
   Trebuchet (Headlines) + Calibri (Body)
   Navy · Smaragd · Signal-Orange · Paper
   ───────────────────────────────────────── */

:root {
  --paper: #FAF7F0;
  --paper-2: #F2EFE6;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-faint: #8A8A8A;
  --primary: #092540;
  --primary-soft: #1B3A5C;
  --accent: #1E9E75;
  --accent-soft: #C8EBDC;
  --accent-tint: #EAF6F0;
  --signal: #D95B30;
  --signal-soft: #FCE6DC;
  --line: #DCD7CB;
  --line-strong: #1A1A1A;
  --rule: 1px;

  --font-heading: 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Calibri', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

.wf {
  width: 100%;
  height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  position: relative;
}

.wf h1, .wf h2, .wf h3, .wf .display {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.wf .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Wobble filters retained as no-op so legacy references don't break */
.wobble, .wobble-lite { filter: none !important; }

/* ── Boxes ── */
.box {
  border: 1px solid var(--line);
  background: var(--paper);
  filter: none;
  border-radius: 4px;
}
.box-dash {
  border: 1px dashed var(--line);
  background: transparent;
  filter: none;
  border-radius: 4px;
}
.box-filled {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--paper);
  filter: none;
  border-radius: 4px;
}
.box-accent {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--paper);
  filter: none;
  border-radius: 4px;
}
.box-signal {
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--paper);
  filter: none;
  border-radius: 4px;
}

/* ── Real photo with clean border ── */
.hero-photo {
  position: relative;
  border: 1px solid var(--line);
  filter: none;
  overflow: hidden;
  background: var(--primary);
  border-radius: 4px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

/* ── Marquee ── */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  background: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-item {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.7;
}
.marquee-item::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 4px;
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Video block ── */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.video-frame img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02) brightness(0.78);
}
.video-frame .play-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
  box-shadow: 0 0 0 0 rgba(217, 91, 48, 0.45);
  animation: video-pulse 2.6s ease-out infinite;
}
.video-frame:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.video-frame .play-btn::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent var(--signal);
  margin-left: 6px;
}
@keyframes video-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(217, 91, 48, 0.55); }
  70%  { box-shadow: 0 0 0 24px rgba(217, 91, 48, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(217, 91, 48, 0);   }
}
.video-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 22px 16px;
  background: linear-gradient(to top, rgba(9, 37, 64, 0.92), transparent);
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.video-controls .track {
  flex: 1;
  height: 3px;
  background: rgba(250, 247, 240, 0.25);
  position: relative;
  border-radius: 2px;
}
.video-controls .track .progress {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 28%;
  background: var(--accent);
  border-radius: 2px;
  animation: video-progress 7s linear infinite;
}
.video-controls .track .knob {
  position: absolute; top: 50%;
  left: 28%;
  width: 10px; height: 10px;
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: video-knob 7s linear infinite;
}
@keyframes video-progress { from { width: 8%; } to { width: 96%; } }
@keyframes video-knob     { from { left: 8%; } to { left: 96%; } }

/* ── Image placeholder ── */
.img-ph {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-2);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 18px,
    rgba(9, 37, 64, 0.04) 18px,
    rgba(9, 37, 64, 0.04) 19px
  );
  filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.img-ph .img-ph-label {
  background: var(--paper);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-weight: 500;
}

/* ── Accent highlight (replaces highlighter) ── */
.hl {
  color: var(--accent);
  font-weight: 700;
  position: relative;
}

/* ── Navigation ── */
.wf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.wf-nav .logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}
.wf-nav .logo .logo-mark-img {
  width: 32px;
  height: 32px;
  display: inline-block;
}
.wf-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 600;
}
.wf-nav a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  padding: 4px 0;
}
.wf-nav a:hover { color: var(--accent); }
.wf-nav a.active {
  color: var(--accent);
}
.wf-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
}
.wf-nav .nav-contact {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 22px;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--paper);
  cursor: pointer;
  border-radius: 3px;
  transition: filter .2s ease;
}
.wf-nav .nav-contact:hover { filter: brightness(1.08); }

/* ── Hero ── */
.hero {
  display: grid;
  gap: 36px;
  padding: 56px 56px 48px;
}

/* ── Footer ── */
.wf-footer {
  border-top: 1px solid var(--line);
  padding: 28px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  gap: 32px;
  background: var(--paper);
}
.wf-footer .foot-col { display: flex; flex-direction: column; gap: 4px; }
.wf-footer .foot-col strong {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ── Cookie banner ── */
.cookie {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(9, 37, 64, 0.12);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  z-index: 3;
}
.cookie .cookie-actions { display: flex; gap: 8px; }
.cookie .btn-sm {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 3px;
  cursor: pointer;
}
.cookie .btn-sm.primary { background: var(--primary); color: var(--paper); border-color: var(--primary); }

/* ── Slide-in contact panel ── */
.slidein {
  position: absolute;
  top: 0;
  right: 0;
  width: 440px;
  height: 100%;
  background: var(--paper);
  border-left: 1px solid var(--line);
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 4;
  box-shadow: -20px 0 40px rgba(9, 37, 64, 0.10);
}
.slidein .close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
}
.slidein .scrim-arrow { display: none; }

/* ── Form ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.field .input {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 3px;
  min-height: 22px;
  color: var(--ink-faint);
}
.field .input.tall { min-height: 110px; }

.btn-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 26px;
  background: var(--primary);
  color: var(--paper);
  border: 1px solid var(--primary);
  cursor: pointer;
  align-self: flex-start;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: filter .2s ease;
}
.btn-primary:hover { filter: brightness(1.15); }
.btn-ghost {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  background: var(--paper);
  color: var(--primary);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  border-radius: 3px;
}

/* ── Annotation note / arrow ── */
.note {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
  display: inline-block;
}
.tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--signal-soft);
  padding: 4px 10px;
  border: 1px solid var(--signal);
  border-radius: 3px;
  white-space: nowrap;
}

/* ── Card ── */
.card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
}
.card h3 { font-size: 20px; color: var(--primary); }
.card .num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

/* FAQ — hide default <summary> caret, toggle the + sign */
details > summary::-webkit-details-marker { display: none; }
details > summary { list-style: none; }
details[open] > summary > span:last-child { transform: rotate(45deg); transition: transform 0.2s; }
details > summary > span:last-child { transition: transform 0.2s; display: inline-block; }

html, body { height: auto; overflow: auto; }
body { background: var(--paper); }
.wf {
  width: 100%;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}
.wf-nav { position: sticky; top: 0; z-index: 10; }

/* Container max-width for wide screens */
@media (min-width: 1400px) {
  .wf-nav, .wf-footer { padding-left: max(56px, calc((100vw - 1280px) / 2)); padding-right: max(56px, calc((100vw - 1280px) / 2)); }
  .hero { padding-left: max(56px, calc((100vw - 1280px) / 2)); padding-right: max(56px, calc((100vw - 1280px) / 2)); }
  .wf > section { padding-left: max(56px, calc((100vw - 1280px) / 2)) !important; padding-right: max(56px, calc((100vw - 1280px) / 2)) !important; }
  .wf > section.fullbleed,
  .wf > .marquee { padding-left: 0 !important; padding-right: 0 !important; }
}

/* Smooth scroll for any anchor links */
html { scroll-behavior: smooth; }

/* Slide-in & Cookie: fixed positioning for live site */
.slidein {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  z-index: 1000;
}
.cookie {
  position: fixed !important;
  bottom: 24px !important;
  z-index: 999;
}
.slidein .scrim-arrow { display: none !important; }

/* Slide-in animation */
.slidein { animation: slidein 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes slidein {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.wf-mobile { font-size: 13px; }
.wf-mobile .wf-nav { padding: 16px 18px; }
.wf-mobile .wf-nav ul { display: none; }
.wf-mobile .wf-nav .hamb {
  width: 24px; height: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.wf-mobile .wf-nav .hamb span {
  display: block; height: 2px; background: var(--ink);
}
.wf-mobile .hero { padding: 24px 18px; gap: 18px; }
.wf-mobile .wf-footer { padding: 18px; font-size: 11px; flex-wrap: wrap; }
.wf-mobile .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; font-size: 11px; }
.wf-mobile .slidein { width: 100%; padding: 24px 18px; }
.wf-mobile h1 { font-size: 28px !important; }
