/* =========================================================
   BERGER UPDATES — 2026-11-23
   Styles for the new sections only: services, who we work
   with, proof, process, FAQ and the contact form.
   Load AFTER style.css. Nothing in style.css is changed.
   Palette reuses the site's colors:
     #cdb582 gold · #7851A9 purple · #1E8A5A / #3fbf86 green
     #DA70D6 orchid · #FFE600 yellow · #e9e4d8 off-white
   ========================================================= */

/* =========================================================
   NAVIGATION — 2026-11-25
   Desktop (1024px+): logo left, links in one row on the right.
   Below 1024px: logo left, menu button right; links open in a
   full-width panel under the bar. Without JavaScript the links
   stay visible and wrap neatly instead of hiding.
   "nav.navbar" outranks style.css's ".navbar" rules, so nothing
   in style.css needs editing.
   ========================================================= */
html { scroll-padding-top: 80px; }   /* #contact etc. land below the fixed bar */

nav.navbar {
  left: 0;
  right: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 32px;
  background-color: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(205, 181, 130, 0.35);
}

nav.navbar .logo { flex: none; line-height: 0; }
nav.navbar .logo img { display: block; height: 40px; width: auto; }

nav.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.navbar .nav-links li { margin: 0; }

nav.navbar .nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 4px;
}

/* Current page: gold text with a thin gold underline */
nav.navbar .nav-links a[aria-current="page"] {
  color: #cdb582;
  box-shadow: inset 0 -2px 0 #cdb582;
  border-radius: 0;
}

nav.navbar .nav-links a[aria-current="page"]:hover {
  color: #000;
  box-shadow: none;
  border-radius: 4px;
}

nav.navbar .nav-links a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid #cdb582;
  outline-offset: 2px;
}

/* Menu button: hidden on desktop */
.nav-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(205, 181, 130, 0.6);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Bars turn into an X when open */
nav.navbar.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.navbar.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
nav.navbar.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1023px) {
  nav.navbar { padding: 8px 20px; }

  /* No JavaScript: keep links visible, wrapped and tidy */
  html:not(.js) nav.navbar { flex-wrap: wrap; justify-content: center; }
  html:not(.js) nav.navbar .nav-links { flex-wrap: wrap; justify-content: center; }

  /* With JavaScript: menu button + drop-down panel */
  .js .nav-toggle { display: inline-flex; }

  .js nav.navbar .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    background: #000000;   /* solid: a translucent panel lets page text show through */
    border-bottom: 1px solid #cdb582;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .js nav.navbar.is-open .nav-links { display: flex; }

  .js nav.navbar .nav-links li + li { border-top: 1px solid rgba(205, 181, 130, 0.2); }

  .js nav.navbar .nav-links a {
    padding: 16px 24px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-style: italic;
    border-radius: 0;
  }

  .js nav.navbar .nav-links a[aria-current="page"] {
    box-shadow: inset 3px 0 0 #cdb582;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar { transition: none; }
}

/* ---------- Buttons and footer email on small screens (2026-11-25) ----------
   .btn is an inline link in style.css, so a long label broke into
   two half-boxes on phones. inline-block keeps one box that wraps. */
.btn {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 767px) {
  .footer-contact { padding-left: 20px; padding-right: 20px; font-size: 20px; }
  .footer-email { overflow-wrap: anywhere; }
}

/* ---------- Shared band ---------- */
.bx-band {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 40px;
  color: #e9e4d8;
  background-color: #000000;
}

.bx-band + .bx-band { border-top: 1px solid rgba(205, 181, 130, 0.35); }

.bx-eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cdb582;
}

.bx-title {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
}

.bx-lede {
  max-width: 680px;
  margin: 0 0 40px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.bx-center { text-align: center; }
.bx-center .bx-lede { margin-left: auto; margin-right: auto; }

/* ---------- Homepage hero line under the logo ---------- */
.bx-hero-intro {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 40px 24px;
  text-align: center;
  color: #e9e4d8;
}

.bx-hero-intro .bx-h1 {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.bx-hero-intro .bx-sub {
  max-width: 700px;
  margin: 0 auto 28px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.bx-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0 0 24px;
}

.bx-proofline {
  margin: 0;
  font-size: 0.95rem;
  color: #cdb582;
}

/* ---------- Services grid ---------- */
.bx-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-service {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(205, 181, 130, 0.5);
  border-radius: 8px;
}

.bx-service h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #DA70D6;
}

.bx-service p {
  flex: 1;
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.6;
}

.bx-service a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFE600;
}

.bx-service a:hover { text-decoration: underline; }

/* ---------- Client wall (text only, no logos) ---------- */
.bx-clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.bx-clients li {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #ffffff;
}

/* ---------- Featured case ---------- */
.bx-case {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 32px;
  text-align: left;
  border: 1px solid #cdb582;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}

.bx-case h3 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-style: italic;
  color: #ffffff;
}

.bx-case .bx-case-tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3fbf86;
}

.bx-case p { margin: 0 0 16px; line-height: 1.6; }

/* ---------- Process steps ---------- */
.bx-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bx-step;
}

.bx-steps li {
  counter-increment: bx-step;
  padding-top: 16px;
  border-top: 2px solid #cdb582;
}

.bx-steps li::before {
  content: "0" counter(bx-step);
  display: block;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #cdb582;
}

.bx-steps h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #ffffff;
}

.bx-steps p { margin: 0; line-height: 1.55; }

/* ---------- Deliverables list ---------- */
.bx-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 40px;
}

.bx-list li {
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid rgba(205, 181, 130, 0.3);
  font-size: 1.05rem;
}

.bx-list li::before {
  content: "— ";
  color: #cdb582;
}

/* ---------- Body copy on service pages ---------- */
.bx-prose {
  max-width: 720px;
}

.bx-prose p {
  margin: 0 0 18px;
  font-size: 1.12rem;
  line-height: 1.65;
}

.bx-prose strong { color: #ffffff; }

.bx-callout {
  margin: 32px 0 0;
  padding: 20px 24px;
  border-left: 3px solid #FFE600;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #ffffff;
}

/* ---------- FAQ ---------- */
.bx-faq details {
  border-bottom: 1px solid rgba(205, 181, 130, 0.35);
}

.bx-faq summary {
  cursor: pointer;
  padding: 20px 0;
  list-style: none;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

.bx-faq summary::-webkit-details-marker { display: none; }

.bx-faq summary::after {
  content: "+";
  float: right;
  color: #cdb582;
}

.bx-faq details[open] summary::after { content: "–"; }

.bx-faq details p {
  max-width: 720px;
  margin: 0 0 20px;
  line-height: 1.65;
}

/* ---------- Contact ---------- */
footer .bx-band,
footer .bx-band .bx-title { text-align: left; }

.bx-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  text-align: left;
}

.bx-next {
  margin: 0 0 28px;
  padding-left: 1.2em;
  line-height: 1.7;
}

.bx-next li::marker { color: #cdb582; font-weight: 700; }

.bx-direct {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.bx-direct a { color: #ffffff; }

.bx-form {
  display: grid;
  gap: 16px;
}

.bx-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cdb582;
}

.bx-form input,
.bx-form select,
.bx-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  color: #ffffff;
  background: #111111;
  border: 1px solid rgba(205, 181, 130, 0.55);
  border-radius: 4px;
}

.bx-form input:focus,
.bx-form select:focus,
.bx-form textarea:focus {
  outline: 2px solid #cdb582;
  outline-offset: 1px;
}

.bx-form .bx-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bx-form button {
  justify-self: start;
  padding: 14px 28px;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
  color: #000000;
  background: #cdb582;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.bx-form button:hover { background: #FFE600; }

.bx-hp { position: absolute; left: -9999px; }

/* ---------- Footer NAP line ---------- */
.bx-nap {
  margin: 0;
  padding: 0 40px 8px;
  font-size: 0.95rem;
  color: #e9e4d8;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .bx-services { grid-template-columns: 1fr; }
  .bx-steps { grid-template-columns: 1fr 1fr; }
  .bx-case,
  .bx-contact { grid-template-columns: 1fr; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .bx-band { padding: 64px 20px; }
  .bx-hero-intro { padding: 56px 20px 16px; }
  .bx-steps { grid-template-columns: 1fr; }
  .bx-list { columns: 1; }
  .bx-form .bx-row { grid-template-columns: 1fr; }
  .bx-nap { padding: 0 20px 8px; }
}
