/* V7 Studio */

.cdj-home-hero {
  background: linear-gradient(180deg, #FFFDF8 0%, #F8F6F1 100%);
}

.cdj-home-hero .hero-grid {
  min-height: 620px;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(52px, 8vw, 92px) 0;
}

.cdj-home-hero h1 {
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(40px, 4.7vw, 68px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
  margin: 16px 0 18px !important;
  max-width: 560px;
}

.cdj-home-hero .belief {
  font-size: clamp(22px, 2.2vw, 32px) !important;
  line-height: 1.42 !important;
  font-weight: 950;
  color: #A67C52 !important;
  margin: 0 !important;
}

.cdj-home-hero .actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-family-hero {
  min-height: 500px !important;
  border-radius: 42px !important;
  background: #FFF7EC !important;
  box-shadow: 0 24px 60px rgba(70,55,35,.12);
  border: 1px solid rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}

.brand-family-hero::before,
.brand-family-hero::after {
  display: none !important;
  content: none !important;
}

.brand-family-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transform-origin: center center;
}

.site-header .nav {
  min-height: 82px;
}

.logo-text strong {
  font-size: clamp(20px, 1.6vw, 25px) !important;
  white-space: nowrap;
}

.logo-text span {
  font-size: 13px !important;
}

.nav-links {
  gap: clamp(12px, 1.35vw, 22px) !important;
  font-size: clamp(13px, 1vw, 16px) !important;
}

body.knowledge-page .site-header,
body:has(#knowledge-graph) .site-header {
  margin-top: 0 !important;
}

body.knowledge-page main,
body:has(#knowledge-graph) main {
  margin-top: 0 !important;
}

.about-page .narrow {
  max-width: 820px;
}

.about-page h1 {
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 14px 0 26px;
}

.about-page p {
  font-size: 20px;
  line-height: 1.9;
  color: #344238;
}

.about-page blockquote {
  margin: 32px 0;
  padding: 30px 34px;
  border-radius: 30px;
  background: #FFFDF8;
  border: 1px solid #E6DED1;
  box-shadow: 0 24px 60px rgba(70,55,35,.12);
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.45;
  color: #A67C52;
}

.about-belief {
  margin-top: 34px;
  font-weight: 950;
  color: #263328 !important;
}

.studio-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #A67C52;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(70,55,35,.22);
}

.studio-panel {
  position: fixed;
  right: 18px;
  top: 96px;
  z-index: 10001;
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100vh - 120px);
  overflow: auto;
  display: none;
  border-radius: 24px;
  background: #FFFDF8;
  border: 1px solid #E6DED1;
  box-shadow: 0 28px 80px rgba(38,51,40,.26);
}

body.studio-open .studio-panel { display: block; }
body.studio-open .studio-toggle { display: none; }

.studio-panel header {
  padding: 18px;
  border-bottom: 1px solid #E6DED1;
}

.studio-panel h2 {
  margin: 0;
  font-size: 20px;
}

.studio-section {
  padding: 16px 18px;
  border-bottom: 1px solid #EEE6D9;
}

.studio-section h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #A67C52;
}

.studio-field {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.studio-field label {
  font-size: 13px;
  font-weight: 900;
}

.studio-field input,
.studio-field select {
  width: 100%;
  box-sizing: border-box;
}

.studio-field input[type="range"] { accent-color: #A67C52; }

.studio-field input[type="color"] {
  height: 34px;
  border: 1px solid #E6DED1;
  border-radius: 10px;
  background: #fff;
}

.image-drop-zone {
  border: 2px dashed #D8C9B4;
  border-radius: 18px;
  padding: 16px;
  background: #F8F6F1;
  text-align: center;
  color: #687463;
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.image-drop-zone.dragging,
.image-drop-zone:hover {
  border-color: #A67C52;
  background: #FFF7EC;
}

.image-drop-zone input { display: none; }

.image-drop-zone strong {
  display: block;
  color: #263328;
  margin-bottom: 4px;
}

.studio-actions {
  padding: 16px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-panel button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  background: #EEE6D9;
  color: #263328;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.studio-panel button.primary { background: #A67C52; color: #fff; }
.studio-panel button.dark { background: #263328; color: #fff; }

body.studio-editing [data-editable],
body.studio-editing .brand-family-hero {
  outline: 3px solid rgba(166,124,82,.45);
  outline-offset: 5px;
}

@media (max-width: 980px) {
  .cdj-home-hero .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand-family-hero,
  .brand-family-hero img {
    min-height: 360px;
  }
}
/* V7.1 Nav Stability Hotfix */
.site-header .nav-links,
.site-header .nav-links a {
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.site-header .logo-text strong {
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.site-header .logo-text span {
  font-size: 13px !important;
}
