:root {
  --zd-ink: #07142d;
  --zd-paper: #ffffff;
  --zd-header-height: 112px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--zd-header-height);
}

#zd-site-header {
  position: sticky !important;
  inset: 0 0 auto 0;
  z-index: 100;
  width: 100%;
  height: var(--zd-header-height);
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--zd-ink);
  box-shadow: none !important;
  backdrop-filter: blur(12px);
  font-family: Inter, Arial, sans-serif;
}

.zd-nav-shell {
  width: min(100% - 64px, 1536px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.zd-brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--zd-ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.zd-brand-mark {
  width: 68px;
  height: 68px;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 10px rgba(7, 20, 45, 0.16));
}

.zd-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}

.zd-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zd-brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.095em;
  white-space: nowrap;
}

.zd-brand-tagline {
  color: #667085;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.zd-desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.zd-nav-link,
.zd-plans-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--zd-ink);
  text-decoration: none;
  font: 500 17px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.zd-nav-link::after,
.zd-plans-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 27px;
  height: 2px;
  background: var(--zd-ink);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.zd-nav-link:hover::after,
.zd-nav-link:focus-visible::after,
.zd-plans:hover .zd-plans-trigger::after,
.zd-plans:focus-within .zd-plans-trigger::after {
  transform: scaleX(1);
}

.zd-consultation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 28px;
  border: 1px solid var(--zd-ink);
  border-radius: 8px;
  background: var(--zd-ink);
  color: white;
  text-decoration: none;
  font: 500 17px/1 Inter, Arial, sans-serif;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.zd-consultation-button:hover,
.zd-consultation-button:focus-visible {
  background: white;
  color: var(--zd-ink);
}

.zd-plans {
  position: relative;
  align-self: stretch;
}

.zd-plans-menu,
.zd-plan-submenu {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
  background: white;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 20, 45, 0.18);
}

.zd-plans-menu {
  top: 92px;
  left: 50%;
  width: 200px;
  padding: 14px 0;
  transform: translate(-50%, -8px);
}

.zd-plans:hover .zd-plans-menu,
.zd-plans:focus-within .zd-plans-menu,
.zd-plans.zd-open .zd-plans-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.zd-plan-group {
  position: relative;
}

.zd-plan-item {
  width: 100%;
  min-height: 52px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: white;
  color: var(--zd-ink);
  font: 500 16px/1.2 Inter, Arial, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.zd-plan-item:hover,
.zd-plan-item:focus-visible {
  background: #f3f5f8;
}

.zd-plan-chevron {
  font-size: 24px;
  font-weight: 300;
}

.zd-plan-submenu {
  top: 0;
  left: calc(100% - 2px);
  width: 252px;
  padding: 10px 0;
}

.zd-plan-group:hover .zd-plan-submenu,
.zd-plan-group:focus-within .zd-plan-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.zd-plan-submenu a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  color: var(--zd-ink);
  text-decoration: none;
  font: 500 15px/1.3 Inter, Arial, sans-serif;
}

.zd-plan-submenu a:hover,
.zd-plan-submenu a:focus-visible {
  background: #f3f5f8;
}

.zd-mobile-toggle,
.zd-mobile-panel {
  display: none;
}

#zd-home-hero {
  position: relative;
  min-height: 650px;
  height: calc(100svh - var(--zd-header-height));
  background-image: url("/assets/the-new-hero-image.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#zd-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 10, 18, 0.7) 0%, rgba(2, 10, 18, 0.48) 34%, rgba(2, 10, 18, 0.18) 62%, rgba(2, 10, 18, 0.12) 100%),
    linear-gradient(0deg, rgba(2, 10, 18, 0.18), rgba(2, 10, 18, 0.02) 45%);
}

.zd-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 96px, 1536px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.zd-hero-copy {
  max-width: 760px;
  color: white;
  transform: translateY(28px);
}

.zd-hero-title {
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 4.25vw, 74px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.zd-hero-title span {
  display: block;
}

.zd-hero-description {
  max-width: 640px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, 0.95);
  font: 400 20px/1.55 Inter, Arial, sans-serif;
}

.zd-hero-actions {
  display: flex;
  gap: 18px;
}

.zd-hero-button {
  min-width: 252px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  border-radius: 7px;
  color: white;
  text-decoration: none;
  font: 500 17px/1 Inter, Arial, sans-serif;
  transition: background 160ms ease, color 160ms ease;
}

.zd-hero-button--primary {
  background: white;
  color: var(--zd-ink);
}

.zd-hero-button:hover,
.zd-hero-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.zd-hero-button--primary:hover,
.zd-hero-button--primary:focus-visible {
  background: var(--zd-ink);
  border-color: var(--zd-ink);
}

.zd-contact-information {
  min-height: 100%;
  padding: 48px;
  border-radius: 8px;
  background: var(--zd-ink);
  color: var(--zd-paper);
  box-shadow: 0 1px 3px rgba(7, 20, 45, 0.12);
  font-family: Inter, Arial, sans-serif;
}

.zd-contact-information h2 {
  margin: 0 0 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}

.zd-contact-intro {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.zd-contact-details {
  display: grid;
  gap: 28px;
  margin-top: 42px;
}

.zd-contact-detail {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.zd-contact-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.zd-contact-detail a {
  color: var(--zd-paper);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}

.zd-contact-detail a:hover,
.zd-contact-detail a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1240px) {
  :root {
    --zd-header-height: 92px;
  }

  .zd-nav-shell {
    width: min(100% - 40px, 1160px);
  }

  .zd-brand {
    gap: 16px;
  }

  .zd-brand-mark {
    width: 56px;
    height: 56px;
    font-size: 27px;
  }

  .zd-brand-name {
    font-size: 29px;
  }

  .zd-brand-tagline {
    font-size: 14px;
  }

  .zd-desktop-nav {
    gap: 24px;
  }

  .zd-consultation-button {
    min-height: 54px;
    padding: 0 20px;
  }

  .zd-plans-menu {
    top: 78px;
  }
}

@media (max-width: 960px) {
  :root {
    --zd-header-height: 78px;
  }

  .zd-nav-shell {
    width: calc(100% - 32px);
  }

  .zd-brand-mark {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }

  .zd-brand-name {
    font-size: 24px;
  }

  .zd-brand-tagline,
  .zd-desktop-nav {
    display: none;
  }

  .zd-mobile-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--zd-ink);
    cursor: pointer;
  }

  .zd-mobile-toggle-lines,
  .zd-mobile-toggle-lines::before,
  .zd-mobile-toggle-lines::after {
    width: 26px;
    height: 2px;
    display: block;
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }

  .zd-mobile-toggle-lines::before {
    transform: translateY(-8px);
  }

  .zd-mobile-toggle-lines::after {
    transform: translateY(6px);
  }

  .zd-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 22px 26px;
    background: white;
    box-shadow: 0 16px 30px rgba(7, 20, 45, 0.12);
  }

  .zd-mobile-panel.zd-open {
    display: grid;
    gap: 4px;
  }

  .zd-mobile-panel a,
  .zd-mobile-plans summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 8px;
    color: var(--zd-ink);
    text-decoration: none;
    font: 500 17px/1 Inter, Arial, sans-serif;
    cursor: pointer;
  }

  .zd-mobile-plans summary {
    justify-content: space-between;
    list-style: none;
  }

  .zd-mobile-plans summary::-webkit-details-marker {
    display: none;
  }

  .zd-mobile-plan-links {
    display: grid;
    padding: 0 0 8px 18px;
  }

  .zd-mobile-plan-links a {
    min-height: 42px;
    font-size: 15px;
  }

  .zd-mobile-panel .zd-consultation-button {
    margin-top: 10px;
    color: white;
  }

  #zd-home-hero {
    min-height: 660px;
    background-position: 44% center;
  }

  .zd-hero-inner {
    width: calc(100% - 48px);
  }

  .zd-hero-copy {
    max-width: 650px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .zd-brand {
    gap: 12px;
  }

  .zd-brand-name {
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  #zd-home-hero {
    min-height: 670px;
    background-position: 37% center;
  }

  #zd-home-hero::before {
    background: rgba(2, 10, 18, 0.53);
  }

  .zd-hero-inner {
    width: calc(100% - 36px);
  }

  .zd-hero-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .zd-hero-description {
    font-size: 17px;
  }

  .zd-hero-actions {
    flex-direction: column;
  }

  .zd-hero-button {
    width: 100%;
    min-width: 0;
  }

  .zd-contact-information {
    padding: 32px 24px;
  }

  .zd-contact-detail a {
    font-size: 17px;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Hide Plans section - disabled for publication */
.zd-plans,
.zd-plans-trigger,
.zd-plans-menu,
.zd-plan-group,
.zd-plan-item,
.zd-plan-submenu,
.zd-mobile-plans,
[data-open-hollett] {
  display: none !important;
}
