.ccp-hero {
  --ccp-gold-light: #fff1b8;
  --ccp-gold: #e8b84a;
  --ccp-gold-dark: #8a5a12;
  --ccp-metal: linear-gradient(180deg, #fff6cf 0%, #f6d77a 28%, #d9a23a 52%, #b9801f 70%, #f3cf6e 88%, #fff1b8 100%);
  --ccp-fade: 0.8s ease;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #120b05;
  color: #fff;
  isolation: isolate;
}
.ccp-hero *, .ccp-hero *::before, .ccp-hero *::after { box-sizing: border-box; }
.ccp-hero .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Media ---------- */
.ccp-hero__media { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.ccp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.ccp-hero.is-novideo .ccp-hero__video { display: none; }

.ccp-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 44%, rgba(10,6,2,.42) 56%, rgba(10,6,2,.66) 72%, rgba(10,6,2,.72) 100%);
  opacity: 0; transition: opacity var(--ccp-fade);
}

/* ---------- Overlay (hidden until the video ends) ---------- */
.ccp-hero__overlay {
  position: absolute; top: 0; bottom: 0; right: 0; width: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 2vw 3vw 2vw 1vw;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity var(--ccp-fade), visibility 0s linear 0.8s;
}
.ccp-hero.is-revealed .ccp-hero__overlay { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity var(--ccp-fade), visibility 0s; }
.ccp-hero.is-revealed .ccp-hero__scrim { opacity: 1; }

.ccp-hero__content { width: 100%; max-width: 820px; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- Gold rules + diamonds ---------- */
.ccp-hero__rule { display: flex; align-items: center; justify-content: center; gap: clamp(6px, .9vw, 14px); width: 100%; }
.ccp-hero__rule::before, .ccp-hero__rule::after {
  content: ""; height: 2px; flex: 0 1 var(--ccp-rule-len, 34%);
  background: linear-gradient(90deg, transparent, var(--ccp-gold) 18%, var(--ccp-gold-light) 50%, var(--ccp-gold) 82%, transparent);
  box-shadow: 0 0 6px rgba(232,184,74,.45);
}
.ccp-hero__diamond {
  flex: none; width: clamp(9px, 1.15vw, 18px); height: clamp(9px, 1.15vw, 18px); transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ccp-gold-light), var(--ccp-gold) 45%, var(--ccp-gold-dark));
  box-shadow: 0 0 10px rgba(255,210,110,.55);
}
.ccp-hero__rule--top { --ccp-rule-len: 36%; margin-bottom: clamp(2px, .4vw, 8px); }
.ccp-hero__rule--mid { --ccp-rule-len: 36%; margin: clamp(2px, .3vw, 6px) 0 clamp(6px, .8vw, 14px); }
.ccp-hero__rule--bottom { --ccp-rule-len: 46%; margin: clamp(8px, 1.3vw, 22px) 0 clamp(10px, 1.4vw, 24px); }

/* ---------- Type ---------- */
.ccp-hero .ccp-hero__gold {
  background: var(--ccp-metal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ccp-gold);
  filter: drop-shadow(0 2px 0 rgba(90,55,10,.9)) drop-shadow(0 4px 10px rgba(0,0,0,.6));
}
.ccp-hero .ccp-hero__logo {
  margin: 0; padding: 0; font-family: "Playfair Display", "Times New Roman", serif; font-weight: 800;
  font-size: clamp(56px, 9.2vw, 168px); line-height: .95; letter-spacing: .02em; text-transform: none;
}
.ccp-hero .ccp-hero__name {
  margin: 0; font-family: "Playfair Display", "Times New Roman", serif; font-weight: 700;
  font-size: clamp(20px, 2.55vw, 46px); line-height: 1.15; white-space: nowrap;
}
.ccp-hero .ccp-hero__tagline {
  margin: clamp(2px, .4vw, 8px) 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600;
  font-size: clamp(19px, 2.35vw, 42px); line-height: 1.2; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.75);
}
.ccp-hero .ccp-hero__services {
  margin: 0; font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(10px, 1.05vw, 18px); letter-spacing: .24em; text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.8); white-space: nowrap; line-height: 1.6;
}
.ccp-hero__sep { padding: 0 .9em; color: rgba(255,255,255,.85); }
.ccp-hero__svc { white-space: nowrap; }

/* ---------- CTA ---------- */
.ccp-hero a.ccp-hero__cta {
  margin-top: clamp(14px, 2vw, 34px); display: inline-flex; align-items: center; gap: .45em;
  padding: .62em 1.7em .58em; min-height: 48px; border-radius: 999px; border: 2px solid var(--ccp-gold);
  background: linear-gradient(180deg, #2c2620 0%, #14110e 55%, #070605 100%);
  box-shadow: 0 0 0 1px rgba(90,55,10,.8), inset 0 1px 0 rgba(255,230,160,.25), 0 0 18px rgba(232,184,74,.35), 0 6px 18px rgba(0,0,0,.6);
  font-family: "Playfair Display", "Times New Roman", serif; font-weight: 700; font-size: clamp(16px, 1.85vw, 34px);
  letter-spacing: .04em; color: var(--ccp-gold); text-decoration: none; line-height: 1;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.ccp-hero .ccp-hero__cta-text { background: var(--ccp-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ccp-hero .ccp-hero__chev { font-size: 1.15em; line-height: .8; color: var(--ccp-gold-light); transition: transform .3s ease; }
.ccp-hero a.ccp-hero__cta:hover, .ccp-hero a.ccp-hero__cta:focus-visible {
  background: linear-gradient(180deg, #ffe9a3 0%, #e8b84a 45%, #b07a1c 100%); border-color: var(--ccp-gold-light);
  box-shadow: 0 0 0 1px rgba(90,55,10,.9), 0 0 28px rgba(255,205,100,.6), 0 8px 22px rgba(0,0,0,.6);
  transform: translateY(-2px); color: #1a1207;
}
.ccp-hero a.ccp-hero__cta:hover .ccp-hero__cta-text, .ccp-hero a.ccp-hero__cta:focus-visible .ccp-hero__cta-text { background: none; -webkit-text-fill-color: #1a1207; color: #1a1207; }
.ccp-hero a.ccp-hero__cta:hover .ccp-hero__chev, .ccp-hero a.ccp-hero__cta:focus-visible .ccp-hero__chev { color: #1a1207; transform: translateX(4px); }
.ccp-hero a.ccp-hero__cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .ccp-hero__overlay { width: 54%; padding-right: 2.5vw; }
  .ccp-hero .ccp-hero__services { letter-spacing: .16em; }
}

/* ---------- Mobile: taller crop centred on the woodworker, overlay over the lower part of the frame ---------- */
@media (max-width: 767px) {
  .ccp-hero__media { aspect-ratio: 5 / 8; max-height: 88vh; min-height: 520px; }
  .ccp-hero__video { object-position: 31% center; }
  .ccp-hero__scrim {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 34%, rgba(10,6,2,.55) 50%, rgba(10,6,2,.82) 66%, rgba(10,6,2,.9) 100%);
  }
  .ccp-hero__overlay {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%;
    align-items: flex-end;
    padding: 0 18px 26px;
  }
  .ccp-hero__rule--top { --ccp-rule-len: 30%; margin-bottom: 4px; }
  .ccp-hero__rule--mid { --ccp-rule-len: 30%; margin: 2px 0 6px; }
  .ccp-hero__rule--bottom { --ccp-rule-len: 40%; margin: 10px 0 10px; }
  .ccp-hero__diamond { width: 9px; height: 9px; }
  .ccp-hero .ccp-hero__logo { font-size: clamp(52px, 16vw, 84px); }
  .ccp-hero .ccp-hero__name { font-size: clamp(17px, 5.2vw, 26px); white-space: normal; }
  .ccp-hero .ccp-hero__tagline { font-size: clamp(17px, 5vw, 24px); }
  .ccp-hero .ccp-hero__services { font-size: clamp(9.5px, 2.7vw, 12px); letter-spacing: .12em; white-space: normal; line-height: 1.8; }
  .ccp-hero__sep { padding: 0 .45em; }
  .ccp-hero a.ccp-hero__cta { margin-top: 14px; font-size: 18px; padding: .7em 1.9em .66em; min-height: 50px; }
}

/* No video at all: show the branding on a dark panel */
.ccp-hero.is-novideo .ccp-hero__overlay { position: relative; width: 100%; padding: 48px 20px; }
.ccp-hero.is-novideo .ccp-hero__media { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ccp-hero__overlay, .ccp-hero__scrim, .ccp-hero a.ccp-hero__cta, .ccp-hero__chev { transition: none !important; }
  .ccp-hero a.ccp-hero__cta:hover, .ccp-hero a.ccp-hero__cta:focus-visible { transform: none; }
}
