:root {
  --background: #f7f3ed;
  --foreground: #122336;
  --card: #f1ece4;
  --card-foreground: #122336;
  --primary: #204161;
  --primary-foreground: #f7f3ed;
  --secondary: #ebe6dd;
  --secondary-foreground: #122336;
  --muted: #e6dfd6;
  --muted-foreground: #55606b;
  --accent: #244c39;
  --accent-foreground: #f7f3ed;
  --border: #d7cfc3;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--foreground);
}
h1, h2, h3, h4, h5, h6 { font-family: "Playfair Display", serif; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.dk-container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.dk-center { text-align: center; }

/* Placeholders for Item Capacity in Customizer only (elements not rendered on live site) */
.dk-item-placeholder {
	display: inline-block;
	border: 1px dashed var(--border);
	background: color-mix(in srgb, var(--muted) 60%, transparent);
	color: var(--muted-foreground);
	font-size: .85rem;
	padding: .35rem .6rem;
	border-radius: 6px;
	font-style: italic;
}
.dk-bio-short .dk-item-placeholder,
.dk-modal-content .dk-item-placeholder { display: block; padding: .6rem .8rem; }
.dk-footer .dk-item-placeholder {
	color: color-mix(in srgb, var(--accent-foreground) 75%, transparent);
	border-color: color-mix(in srgb, var(--accent-foreground) 40%, transparent);
	background: color-mix(in srgb, var(--accent-foreground) 12%, transparent);
}
.dk-site main section { padding: 6rem 0; }

.dk-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(7px); border-bottom: 1px solid transparent;
  transition: all .3s ease; background: color-mix(in srgb, var(--background) 80%, transparent);
}
.dk-nav.scrolled { background: color-mix(in srgb, var(--background) 95%, transparent); border-bottom-color: var(--border); box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.dk-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.dk-brand { font-size: 1.25rem; font-weight: 700; }
.dk-nav-links { display: flex; gap: .25rem; }
.dk-nav-links a { padding: .5rem 1rem; color: var(--muted-foreground); font-size: .92rem; font-weight: 500; }
.dk-nav-links a:hover { color: var(--foreground); }
.dk-mobile-toggle { display: none; background: transparent; border: 0; cursor: pointer; }
.dk-mobile-toggle span { display: block; width: 20px; height: 2px; margin: 4px 0; background: var(--foreground); }
.dk-mobile-menu { display: none; border-top: 1px solid var(--border); padding-bottom: .5rem; }
.dk-mobile-menu a { display: block; padding: .75rem 1rem; color: var(--muted-foreground); }

.dk-hero { min-height: 85vh; display: flex; align-items: center; padding-top: 4rem !important; position: relative; overflow: hidden; }
.dk-hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb,var(--primary) 8%, transparent), transparent, color-mix(in srgb,var(--accent) 8%, transparent)); }
.dk-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; width: 100%; }
.dk-hero-left h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.1; margin-bottom: 1.5rem; }
.dk-hero-left p { color: var(--muted-foreground); font-size: 1.12rem; margin-bottom: 2rem; max-width: 32rem; line-height: 1.6; }
.dk-hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.dk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; border: 1px solid transparent; padding: .75rem 1.25rem; font-weight: 600; cursor: pointer; transition: .2s ease; }
.dk-btn-primary { background: var(--primary); color: var(--primary-foreground); }
.dk-btn-primary:hover { filter: brightness(1.05); }
.dk-btn-outline { border-color: var(--border); background: transparent; color: var(--foreground); }
.dk-btn-outline:hover { background: var(--muted); }
.dk-hero-right { position: relative; display: flex; justify-content: center; }
.dk-hero-block { position: absolute; top: 1rem; right: 0; width: 75%; height: 85%; border-radius: 2rem; background: color-mix(in srgb, var(--primary) 15%, transparent); }
.dk-hero-right img {
	position: relative; z-index: 3; width: min(24rem, 100%); aspect-ratio: 3/4; object-fit: cover;
	border-radius: 12px; box-shadow: 0 30px 55px rgba(0,0,0,.25); animation: dk-float 5s ease-in-out infinite;
	image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;
	transform: translateZ(0); backface-visibility: hidden;
}
@keyframes dk-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.dk-books { background: var(--card); }
.dk-section-head { text-align: center; margin-bottom: 4rem; }
.dk-section-head > p:first-child { color: var(--primary); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; margin-bottom: .75rem; font-weight: 600; }
.dk-section-head h2 { font-size: clamp(2rem,4vw,2.5rem); margin-bottom: 1rem; }
.dk-section-head p:last-child { max-width: 42rem; margin: 0 auto; font-size: 1.1rem; line-height: 1.65; color: var(--muted-foreground); }
.dk-featured-book { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; align-items: center; margin-bottom: 5rem; }
.dk-book-cover-wrap { display: flex; justify-content: center; }
.dk-book-cover-wrap img { width: min(21rem, 100%); aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; box-shadow: 0 20px 35px rgba(0,0,0,.18); }
.dk-featured-book h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.dk-featured-book > div > p { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.25rem; }
.dk-format-list { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.dk-format-list span { border-radius: 999px; padding: .5rem .95rem; font-size: .85rem; border: 1px solid var(--border); }
.dk-format-list .is-available { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); border-color: color-mix(in srgb, var(--primary) 20%, transparent); }
.dk-format-list .is-muted { background: var(--muted); color: var(--muted-foreground); }
.dk-small-label { margin-bottom: .75rem; font-size: .85rem; font-weight: 600; }
.dk-retailers { display: flex; flex-wrap: wrap; gap: .5rem; }
.dk-retailers a { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--border); border-radius: 8px; padding: .5rem .65rem; font-size: .82rem; background: var(--background); }
.dk-retailers img { width: 16px; height: 16px; object-fit: contain; }
.dk-retailers .dk-icon-external { width: 12px; height: 12px; flex-shrink: 0; opacity: .7; }
.dk-coming-card { border: 1px solid color-mix(in srgb,var(--primary) 22%, transparent); background: color-mix(in srgb,var(--primary) 7%, transparent); border-radius: 12px; padding: 2rem; text-align: center; }
.dk-coming-card .dk-icon-book-open { width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem; display: block; color: var(--primary); }
.dk-coming-card .dk-btn-with-icons { display: inline-flex; align-items: center; gap: .5rem; }
.dk-coming-card .dk-icon-play { width: 1rem; height: 1rem; flex-shrink: 0; }
.dk-coming-card .dk-icon-arrow { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform .2s ease; }
.dk-coming-card .dk-btn-with-icons:hover .dk-icon-arrow { transform: translateX(4px); }
.dk-coming-card h3 { font-size: 1.8rem; margin-bottom: .75rem; }
.dk-coming-card p { max-width: 35rem; margin: 0 auto 1.25rem; color: var(--muted-foreground); line-height: 1.6; }

.dk-lbf { background: color-mix(in srgb, var(--secondary) 30%, transparent); }
.dk-lbf-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 20%, transparent); margin-bottom: 1.5rem; }
.dk-lbf-icon-wrap .dk-icon-award { width: 2rem; height: 2rem; color: var(--accent); }
.dk-lbf .dk-lbf-kicker { color: var(--primary); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; margin-bottom: .75rem; font-weight: 600; }
.dk-lbf h2 { margin-bottom: 1rem; font-size: clamp(2rem,4vw,2.5rem); }
.dk-lbf blockquote { max-width: 42rem; margin: 0 auto; text-align: left; padding-left: 1rem; border-left: 4px solid var(--accent); color: var(--muted-foreground); font-style: italic; font-size: 1.12rem; line-height: 1.65; }
.dk-lbf .dk-container > p:last-child { margin: 1rem auto 0; max-width: 42rem; color: var(--muted-foreground); line-height: 1.7; }

.dk-author-grid { max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3rem; align-items: start; }
.dk-author-photo { display: flex; justify-content: center; }
.dk-author-photo img { width: 100%; max-width: 24rem; aspect-ratio: 3/4; object-fit: cover; border-radius: 1rem; box-shadow: 0 18px 28px rgba(0,0,0,.2); }
.dk-bio-short { margin-bottom: 1rem; }
.dk-bio-short p { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1rem; }
.dk-author blockquote { border-left: 4px solid var(--primary); padding-left: 1rem; font-style: italic; margin: 0 0 1.5rem; }
.dk-inline-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.dk-inline-actions .dk-icon-inline { width: 1rem; height: 1rem; flex-shrink: 0; }

.dk-shop { background: var(--card); }
.dk-shop-container { max-width: 64rem; }
.dk-shop-card { max-width: 20rem; margin: 0 auto; text-align: left; border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 1rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: .25s ease; }
.dk-shop-card:hover { transform: translateY(-8px); box-shadow: 0 22px 32px rgba(0,0,0,.18); }
.dk-shop-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.dk-shop-card-meta { margin-top: .75rem; display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.dk-shop-card-meta p { font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }
.dk-shop-card-meta span { color: var(--muted-foreground); font-size: .82rem; }
.dk-shop-card em { margin-top: .4rem; display: inline-block; font-size: .7rem; background: color-mix(in srgb,var(--primary) 10%, transparent); color: var(--primary); border-radius: 999px; padding: .18rem .5rem; font-style: normal; }
.dk-hype-card { max-width: 42rem; margin: 3rem auto 0; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb,var(--primary) 5%, transparent), color-mix(in srgb,var(--accent) 10%, transparent)); padding: 2rem; text-align: center; box-shadow: 0 14px 26px rgba(0,0,0,.1); }
.dk-hype-card h3 { font-size: 1.65rem; margin-bottom: .75rem; }
.dk-hype-card p { color: var(--muted-foreground); line-height: 1.65; margin-bottom: 1rem; }
.dk-hype-card .dk-btn .dk-icon-fb { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.dk-media { background: color-mix(in srgb, var(--secondary) 30%, transparent); }
.dk-media-container { max-width: 56rem; }
.dk-media-container > h2 { text-align: center; font-size: clamp(2rem,4vw,2.5rem); margin-bottom: .75rem; }
.dk-media-container > p { text-align: center; color: var(--muted-foreground); margin-bottom: 3rem; font-size: 1.1rem; }
.dk-media-block { margin-bottom: 2.5rem; }
.dk-media-block h3 { margin-bottom: .75rem; font-family: "Inter",sans-serif; font-size: 1.25rem; }
.dk-video-wrap, .dk-flipbook-wrap { width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 24px rgba(0,0,0,.2); background: #000; }
.dk-video-wrap iframe,
#dk-video-embed { width: 100%; min-height: 390px; border: 0; background: #000; }
.dk-flipbook-wrap { position: relative; padding-bottom: 75%; }
.dk-flipbook-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.dk-contact-container { max-width: 52rem; }
.dk-tabs { max-width: 100%; }
.dk-tab-triggers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin-bottom: 1.5rem; }
.dk-tab-triggers button { border: 1px solid var(--border); border-radius: 8px; background: var(--secondary); color: var(--secondary-foreground); font-weight: 600; padding: .7rem 1rem; cursor: pointer; }
.dk-tab-triggers button.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.dk-tab-panel { display: none; }
.dk-tab-panel.active { display: block; }
.dk-form { display: grid; gap: 1rem; margin-bottom: 2rem; }
.dk-form label span { display: inline-block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; }
.dk-form input, .dk-form textarea { width: 100%; border: 1px solid var(--border); background: var(--background); color: var(--foreground); border-radius: 8px; padding: .65rem .8rem; font-family: inherit; }
.dk-form .w-full { width: 100%; }
.dk-contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; text-align: center; color: var(--muted-foreground); font-size: .9rem; margin-bottom: 1rem; }
.dk-social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.dk-social-row a { border-radius: 999px; background: var(--secondary); border: 1px solid var(--border); padding: .45rem .8rem; color: var(--muted-foreground); font-size: .82rem; }
.dk-social-row a:hover { color: var(--primary); background: color-mix(in srgb,var(--primary) 10%, transparent); }
.dk-social-icons { gap: .75rem; }
.dk-social-icons .dk-social-icon { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; background: color-mix(in srgb, var(--foreground) 10%, transparent); color: inherit; }
.dk-social-icons .dk-social-icon:hover { background: color-mix(in srgb, var(--foreground) 20%, transparent); }
.dk-social-icons .dk-social-svg { width: 1rem; height: 1rem; }
.dk-social-row.footer .dk-social-icon { background: color-mix(in srgb, var(--accent-foreground) 10%, transparent); color: var(--accent-foreground); }
.dk-social-row.footer .dk-social-icon:hover { background: color-mix(in srgb, var(--accent-foreground) 20%, transparent); }
.dk-guest-form { background: color-mix(in srgb,var(--secondary) 30%, transparent); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; margin-bottom: 0; }
.dk-grid-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }

.dk-footer { background: var(--accent); color: var(--accent-foreground); padding: 3rem 0; }
.dk-footer-container { max-width: 64rem; }
.dk-footer-container h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.dk-footer-container .dk-center p { opacity: .84; max-width: 28rem; margin: 0 auto; }
.dk-footer-links { margin: 2rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; font-size: .9rem; opacity: .85; }
.dk-footer-bottom { border-top: 1px solid color-mix(in srgb,var(--accent-foreground) 25%, transparent); padding-top: 1.2rem; text-align: center; font-size: .85rem; opacity: .78; display: grid; gap: .35rem; }
.dk-footer-bottom a { text-decoration: underline; }

.dk-modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6);
  display: none; padding: 2rem 1rem; align-items: center; justify-content: center;
}
.dk-modal-backdrop.open { display: flex; }
.dk-modal-card {
  width: min(42rem, 100%); max-height: 80vh; overflow: auto; background: var(--background);
  border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1rem 1.3rem; position: relative;
}
.dk-modal-close { position: absolute; top: .5rem; right: .5rem; border: 0; background: var(--muted); width: 2rem; height: 2rem; border-radius: 999px; cursor: pointer; }
.dk-modal-content { margin-top: .8rem; display: grid; gap: .8rem; color: var(--muted-foreground); line-height: 1.65; }
.dk-modal-content blockquote { border-left: 4px solid var(--primary); padding-left: 1rem; color: var(--foreground); }
.dk-platform-head { display: flex; gap: .8rem; align-items: center; margin: .8rem 0; }
.dk-platform-head img { width: 80px; height: 112px; object-fit: cover; border-radius: 8px; }
.dk-platform-head span { display: block; font-size: .85rem; color: var(--muted-foreground); margin-top: .2rem; }
.dk-platform-links { display: grid; gap: .5rem; }
.dk-platform-links a { display: flex; justify-content: space-between; align-items: center; gap: .7rem; border: 1px solid var(--border); background: color-mix(in srgb,var(--secondary) 50%, transparent); border-radius: 8px; padding: .65rem .8rem; font-size: .9rem; font-weight: 600; }
.dk-platform-links img { width: 20px; height: 20px; object-fit: contain; }
.dk-platform-links .dk-icon-external { width: 16px; height: 16px; flex-shrink: 0; opacity: .6; }

.dk-fb-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; padding: .75rem; display: none; transform: translateY(100%); opacity: 0; transition: .35s ease; }
.dk-fb-banner.visible { display: block; transform: translateY(0); opacity: 1; }
.dk-fb-inner { max-width: 44rem; margin: 0 auto; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--border); background: color-mix(in srgb,var(--card) 95%, transparent); backdrop-filter: blur(7px); border-radius: 14px 14px 8px 8px; padding: .75rem; }
.dk-fb-inner p { flex: 1; font-size: .85rem; font-weight: 600; }
.dk-fb-inner a { border-radius: 999px; padding: .45rem .75rem; font-size: .76rem; font-weight: 700; }
.dk-fb-inner a:first-of-type { background: var(--accent); color: var(--accent-foreground); }
.dk-fb-inner a:last-of-type { background: var(--primary); color: var(--primary-foreground); }
.dk-fb-inner button { border: 0; background: transparent; color: var(--muted-foreground); cursor: pointer; font-size: 1.2rem; }

.dk-toast {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 120; width: min(22rem, calc(100% - 2rem));
  border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--card-foreground);
  padding: .75rem .9rem; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.dk-toast strong { display: block; margin-bottom: .2rem; }
.dk-toast.show { display: block; }

@media (max-width: 900px) {
  .dk-nav-links { display: none; }
  .dk-mobile-toggle { display: block; }
  .dk-mobile-menu.open { display: block; }
  .dk-hero-grid, .dk-featured-book, .dk-author-grid { grid-template-columns: 1fr; }
  .dk-hero-right { order: -1; }
  .dk-grid-two { grid-template-columns: 1fr; }
}
