@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500&display=swap");

/* ===========================================================================
   DANIEL CHARLES FINE ART â€” HOME ENTRANCE
   Fixed portrait doorway: 410px wide Ã— 760px tall.
   =========================================================================== */

.dcf-entry {
  --dcf-bg: #f4f1ef;
  --dcf-text: #332b2d;
  --dcf-muted: #766d70;
  --dcf-border: rgba(54, 42, 46, 0.45);
  --dcf-accent: #9c7e84;
  --dcf-door-width: 410px;
  --dcf-door-height: 760px;
  --dcf-door-duration: 1.65s;
  --dcf-door-ease: cubic-bezier(0.22, 0.78, 0.16, 1);

  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(24px, 3.4vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 27%, rgba(255, 255, 255, 0.90), transparent 40%),
    linear-gradient(180deg, #faf7f5 0%, var(--dcf-bg) 100%);
  color: var(--dcf-text);
  font-family: Inter, Arial, sans-serif;
}

.dcf-entry *,
.dcf-entry *::before,
.dcf-entry *::after {
  box-sizing: border-box;
}

/* ===========================================================================
   BRAND
   =========================================================================== */

.dcf-entry__brand {
  position: relative;
  z-index: 20;
  width: min(100%, 720px);
  margin: 0 auto 26px;
  color: var(--dcf-text);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.dcf-entry__brand-name {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(23px, 2.1vw, 34px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.dcf-entry__brand-sub {
  display: block;
  margin-top: 8px;
  color: var(--dcf-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  line-height: 1.2;
}

/* ===========================================================================
   DOOR SCENE
   =========================================================================== */

body.page-id-148 .dcf-entry__scene,
.dcf-entry__scene {
  position: relative !important;
  display: flex !important;
  width: var(--dcf-door-width) !important;
  height: var(--dcf-door-height) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: calc(100vw - 32px) !important;
  max-height: none !important;
  margin: 0 auto !important;
  overflow: visible !important;
  perspective: 1800px !important;
  aspect-ratio: 410 / 760 !important;
}

/* ===========================================================================
   INTERIOR IMAGE / BACKGROUND
   =========================================================================== */

.dcf-entry__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border: 2px solid rgba(47, 41, 44, 0.66);
  background-color: #d7cbd4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 11px rgba(18, 17, 19, 0.30),
    0 22px 42px rgba(42, 28, 35, 0.18);
}

.dcf-entry__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 247, 249, 0.66), transparent 18%),
    radial-gradient(circle at 30% 66%, rgba(232, 179, 199, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(201, 161, 179, 0.22), transparent 42%, rgba(182, 165, 205, 0.25));
  pointer-events: none;
}

/* ===========================================================================
   WELCOME MESSAGE â€” OVER THE IMAGE, BEHIND BOTH DOORS
   Add .dcf-entry__welcome in the HTML immediately after .dcf-entry__image.
   =========================================================================== */

.dcf-entry__welcome {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  color: rgba(255, 250, 248, 0.96);
  text-align: center;
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.75s ease 0.38s,
    transform 0.95s cubic-bezier(0.22, 0.78, 0.16, 1) 0.38s;
  pointer-events: none;
}

.dcf-entry__welcome::before {
  content: "";
  position: absolute;
  inset: 16%;
  z-index: -1;
  border: 1px solid rgba(255, 242, 245, 0.20);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(42, 30, 41, 0.42) 0%,
    rgba(53, 37, 48, 0.18) 44%,
    transparent 72%
  );
  filter: blur(8px);
}

.dcf-entry__welcome-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 247, 244, 0.84);
  font: 500 9px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.30em;
  text-transform: uppercase;
}

.dcf-entry__welcome h2 {
  margin: 0;
  color: rgba(255, 251, 249, 0.97);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-shadow:
    0 2px 12px rgba(31, 20, 28, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ===========================================================================
   DOORS
   =========================================================================== */

.dcf-entry__door {
  position: relative;
  z-index: 2;
  width: 50%;
  height: 100%;
  padding: 0;
  border: 0;
  outline-offset: 8px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform var(--dcf-door-duration) var(--dcf-door-ease);
}

.dcf-entry__door--left {
  transform-origin: left center;
}

.dcf-entry__door--right {
  transform-origin: right center;
}

/* ===========================================================================
   FROSTED / OPAQUE GLASS
   =========================================================================== */

.dcf-entry__glass {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-top: 2px solid rgba(255, 251, 252, 0.76);
  border-bottom: 2px solid rgba(38, 31, 35, 0.58);
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.34) 0,
      rgba(255, 247, 250, 0.22) 2px,
      rgba(48, 41, 50, 0.34) 2px,
      rgba(48, 41, 50, 0.34) 4px,
      transparent 4px,
      transparent 11.111%
    ),
    linear-gradient(
      115deg,
      rgba(247, 222, 224, 0.93) 0%,
      rgba(198, 164, 188, 0.94) 37%,
      rgba(218, 202, 229, 0.93) 60%,
      rgba(104, 94, 112, 0.96) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(48, 39, 49, 0.34));
  box-shadow:
    inset 0 0 0 11px rgba(31, 28, 31, 0.54),
    inset 0 0 30px rgba(255, 235, 241, 0.18),
    inset 0 -26px 38px rgba(38, 28, 40, 0.28),
    0 14px 28px rgba(37, 26, 33, 0.18);
  backdrop-filter: blur(6px) saturate(1.08);
  -webkit-backdrop-filter: blur(6px) saturate(1.08);
}

/* ===========================================================================
   SPOTLIGHT REFLECTIONS
   =========================================================================== */

.dcf-entry__glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 27% 18%, rgba(255, 233, 185, 0.36) 0 2%, rgba(255, 219, 163, 0.14) 7%, transparent 13%),
    radial-gradient(circle at 48% 54%, rgba(255, 253, 251, 0.54) 0 1.7%, rgba(255, 226, 213, 0.18) 6%, transparent 14%),
    radial-gradient(circle at 64% 71%, rgba(255, 214, 170, 0.22) 0 3%, rgba(236, 181, 198, 0.11) 10%, transparent 17%),
    radial-gradient(circle at 28% 77%, transparent 0 9%, rgba(255, 209, 164, 0.18) 10% 10.6%, transparent 11.5%),
    radial-gradient(circle at 82% 91%, transparent 0 8%, rgba(246, 202, 181, 0.16) 9% 9.6%, transparent 10.5%),
    radial-gradient(circle at 42% 81%, rgba(255, 220, 159, 0.16) 0 2.2%, rgba(255, 225, 183, 0.06) 7%, transparent 13%);
  opacity: 0.92;
  mix-blend-mode: screen;
  pointer-events: none;
}

.dcf-entry__glass::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 2;
  background:
    linear-gradient(108deg, transparent 13%, rgba(255, 255, 255, 0.13) 28%, rgba(255, 234, 240, 0.30) 36%, rgba(255, 255, 255, 0.08) 43%, transparent 53%),
    linear-gradient(110deg, transparent 51%, rgba(255, 240, 245, 0.18) 64%, transparent 74%);
  opacity: 0.82;
  pointer-events: none;
}

/* ===========================================================================
   THREE THIN ARCHITECTURAL DIVIDERS
   =========================================================================== */

.dcf-entry__band {
  position: absolute;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  border: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.64) 48%,
    rgba(255, 225, 235, 0.24)
  );
  box-shadow:
    0 1px 0 rgba(38, 31, 35, 0.56),
    0 -1px 0 rgba(255, 255, 255, 0.32);
  opacity: 0.94;
}

.dcf-entry__band--one {
  top: 25%;
}

.dcf-entry__band--two {
  top: 50%;
}

.dcf-entry__band--three {
  top: 75%;
}

/* ===========================================================================
   HANDLES
   =========================================================================== */

.dcf-entry__handle {
  position: absolute;
  top: 48%;
  z-index: 6;
  width: 16px;
  height: 31%;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #080809 0%,
    #222226 18%,
    #4b454b 48%,
    #1b1a1d 78%,
    #070708 100%
  );
  box-shadow:
    inset 1px 0 1px rgba(255, 255, 255, 0.10),
    inset -1px 0 1px rgba(0, 0, 0, 0.66),
    2px 4px 7px rgba(0, 0, 0, 0.42);
  transform: translateY(-50%);
}

.dcf-entry__door--left .dcf-entry__handle {
  right: 11%;
}

.dcf-entry__door--right .dcf-entry__handle {
  left: 11%;
}

/* ===========================================================================
   LABELS
   =========================================================================== */

.dcf-entry__project-label {
  position: absolute;
  top: 46%;
  left: 12%;
  z-index: 7;
  color: rgba(49, 39, 44, 0.92);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 1.7vw, 27px);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.dcf-entry__action-label {
  position: absolute;
  top: 16%;
  left: 50%;
  z-index: 7;
  color: rgba(57, 45, 51, 0.72);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ===========================================================================
   BUTTONS
   =========================================================================== */

.dcf-entry__controls {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  margin: 26px auto 0;
  gap: 14px;
}

.dcf-entry__button {
  min-width: 154px;
  padding: 13px 20px;
  border: 1px solid var(--dcf-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  color: var(--dcf-text);
  cursor: pointer;
  font: 500 11px/1 Inter, Arial, sans-serif;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.dcf-entry__button:hover,
.dcf-entry__button:focus-visible {
  border-color: var(--dcf-accent);
  background: rgba(190, 152, 165, 0.14);
  color: #695059;
  transform: translateY(-1px);
}

/* ===========================================================================
   OPENING ANIMATION
   =========================================================================== */

.dcf-entry.is-opening .dcf-entry__door--left,
.dcf-entry.is-entering .dcf-entry__door--left {
  transform: rotateY(-103deg);
}

.dcf-entry.is-opening .dcf-entry__door--right,
.dcf-entry.is-entering .dcf-entry__door--right {
  transform: rotateY(103deg);
}

.dcf-entry.is-opening .dcf-entry__welcome,
.dcf-entry.is-entering .dcf-entry__welcome,
.dcf-entry.is-open .dcf-entry__welcome {
  opacity: 1;
  transform: scale(1);
}

.dcf-entry.is-opening .dcf-entry__project-label,
.dcf-entry.is-opening .dcf-entry__action-label,
.dcf-entry.is-opening .dcf-entry__controls,
.dcf-entry.is-entering .dcf-entry__project-label,
.dcf-entry.is-entering .dcf-entry__action-label,
.dcf-entry.is-entering .dcf-entry__controls {
  pointer-events: none;
}

/* ===========================================================================
   SMALL-PHONE SCALE DOWN ONLY
   =========================================================================== */

@media (max-width: 442px) {
  .dcf-entry {
    min-height: 100dvh;
    padding: 20px 16px 28px;
  }

  body.page-id-148 .dcf-entry__scene,
  .dcf-entry__scene {
    width: calc(100vw - 32px) !important;
    height: auto !important;
    max-width: calc(100vw - 32px) !important;
    aspect-ratio: 410 / 760 !important;
  }

  .dcf-entry__brand {
    margin-bottom: 22px;
  }

  .dcf-entry__brand-name {
    font-size: clamp(18px, 6vw, 25px);
    letter-spacing: 0.08em;
  }

  .dcf-entry__brand-sub {
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 0.25em;
  }

  .dcf-entry__glass {
    box-shadow:
      inset 0 0 0 8px rgba(31, 28, 31, 0.54),
      inset 0 0 18px rgba(255, 235, 241, 0.15),
      0 12px 24px rgba(37, 26, 33, 0.20);
  }

  .dcf-entry__band {
    height: 2px;
  }

  .dcf-entry__project-label {
    top: 48%;
    left: 8%;
    font-size: clamp(13px, 4vw, 17px);
    letter-spacing: 0.05em;
  }

  .dcf-entry__welcome {
    padding: 24px;
  }

  .dcf-entry__welcome-eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .dcf-entry__welcome h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .dcf-entry__handle {
    width: 13px;
    height: 29%;
  }

  .dcf-entry__door--left .dcf-entry__handle {
    right: 10%;
  }

  .dcf-entry__door--right .dcf-entry__handle {
    left: 10%;
  }

  .dcf-entry__controls {
    flex-direction: column;
    margin-top: 20px;
    gap: 10px;
  }

  .dcf-entry__button {
    width: min(100%, 260px);
  }
}

/* ===========================================================================
   ACCESSIBILITY
   =========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .dcf-entry__door,
  .dcf-entry__button,
  .dcf-entry__welcome {
    transition: none !important;
  }
}