/* SureHand Solutions surehand-solutions: cinematic hero (strike) */
/* ---------- Cinematic full-screen hero (shared by the SureHand variants) ---------- */
.hero-full.cx {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px);
  background: #05080e;
}
.hero-full.cx > picture, .hero-full.cx::after, .hero-full.cx .hero-cap { display: none; }
.cx-stage { position: absolute; inset: 0; z-index: -1; }
.cx-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 899px) { .cx-stage img { object-position: 70% 50%; } }
.cx-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .62) 34%, rgba(var(--scrim), .12) 62%, transparent 75%),
              linear-gradient(0deg, rgba(var(--scrim), .55) 0%, transparent 30%);
}
@media (max-width: 899px) {
  .hero-full.cx { align-items: flex-end; min-height: 88svh; }
  .cx-scrim { background: linear-gradient(0deg, rgba(var(--scrim), .94) 0%, rgba(var(--scrim), .78) 42%, rgba(var(--scrim), .1) 72%, transparent 100%); }
}
.hero-full.cx .hero-in { position: relative; z-index: 2; width: 100%; }
.hero-full.cx .hero-copy { max-width: 38rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-full.cx h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.hero-full.cx .lead { color: rgba(255, 255, 255, .86); }
.hero-full.cx .btn { text-shadow: none; }
.hero-full.cx .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.cx-gold { color: var(--accent); }
.cx-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--accent); font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.cx-kicker::before { content: ""; width: 30px; height: 2px; background: var(--accent); }

/* the "after" layer is revealed by a growing circle (strike, switch) or a left-to-right wipe (blueprint) */
.cx-b { clip-path: circle(0px at var(--cx, 60%) var(--cy, 40%)); transition: clip-path 1.25s cubic-bezier(.25, .8, .25, 1); will-change: clip-path; }
.hero-full.cx.is-on .cx-b { clip-path: circle(var(--cr, 150vmax) at var(--cx, 60%) var(--cy, 40%)); }

/* chips (hint, undo, build) */
.cx-chip {
  position: absolute; z-index: 3; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px);
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(10, 14, 22, .55); color: #fff;
  font: 700 .86rem/1 var(--font-body); backdrop-filter: blur(10px);
  transition: opacity .4s ease, transform .4s ease, background .2s;
}
.cx-chip:hover { background: rgba(10, 14, 22, .75); }
.cx-chip svg { width: 18px; height: 18px; color: var(--accent); }
.cx-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 899px) { .cx-chip { top: 16px; bottom: auto; right: 16px; } }

/* ---- strike ---- */
.cx-strike { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(-40 20 20)'%3E%3Crect x='18' y='12' width='5' height='26' rx='2' fill='%238b5a2b' stroke='%23000' stroke-opacity='.3'/%3E%3Crect x='8' y='4' width='24' height='10' rx='2' fill='%23cfd5dc' stroke='%23000' stroke-opacity='.4'/%3E%3C/g%3E%3C/svg%3E") 10 10, crosshair; }
.cx-strike .cx-undo { opacity: 0; transform: translateY(8px); pointer-events: none; }
.cx-strike.is-on .cx-undo { opacity: 1; transform: none; pointer-events: auto; transition-delay: 1s; }
.cx-strike.is-on .cx-hint { opacity: 0; transform: translateY(8px); pointer-events: none; }
.cx-hint { animation: cx-bob 2.6s ease-in-out infinite; }
@keyframes cx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.cx-ring {
  position: absolute; z-index: 2; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; pointer-events: none;
  border: 3px solid var(--accent); box-shadow: 0 0 24px var(--accent);
  animation: cx-ring .85s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes cx-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(14); opacity: 0; } }
.cx-shake { animation: cx-shake .32s cubic-bezier(.36, .07, .19, .97); }
@keyframes cx-shake { 10%, 90% { transform: translate(-1px, 1px); } 20%, 80% { transform: translate(3px, -2px); } 30%, 50%, 70% { transform: translate(-4px, 2px); } 40%, 60% { transform: translate(4px, -1px); } }

/* ---- switch ---- */
.cx-switch { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.cx-plate {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 58px; height: 96px; padding: 8px 0; border: 0; border-radius: 7px; cursor: pointer; flex: none;
  background: linear-gradient(160deg, #fbf9f4 0%, #ebe6dc 55%, #d9d1c1 100%);
  box-shadow: 0 1px 0 #fff inset, 0 12px 26px -8px rgba(0, 0, 0, .7), 0 2px 4px rgba(0, 0, 0, .3);
}
.cx-plate:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.cx-screw { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #c9c3b6 60%, #9d968a); }
.cx-slot { position: relative; width: 19px; height: 38px; border-radius: 4px; background: linear-gradient(#cfc8ba, #e8e3d8); box-shadow: 0 1px 3px rgba(0, 0, 0, .35) inset; }
.cx-toggle { position: absolute; left: 3px; right: 3px; height: 21px; bottom: 2px; border-radius: 3px; background: linear-gradient(#fdfcf9, #e2dccf); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); transition: bottom .16s cubic-bezier(.3, 1.6, .5, 1); }
.cx-plate[aria-checked="true"] .cx-toggle { bottom: 15px; box-shadow: 0 -3px 4px rgba(0, 0, 0, .25); }
.cx-switchlabel { color: var(--accent); font: 700 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.cx-switch .cx-plate::after {
  content: ""; position: absolute; inset: -10px; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255, 210, 140, .0); animation: cx-glow 2.4s ease-in-out infinite;
}
.cx-switch .cx-plate[aria-checked="true"]::after { animation: none; }
@keyframes cx-glow { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 210, 140, 0); } 50% { box-shadow: 0 0 0 2px rgba(255, 210, 140, .55), 0 0 24px rgba(255, 210, 140, .35); } }

/* ---- blueprint ---- */
.cx-blueprint .cx-b { clip-path: inset(0 calc(100% - var(--p, 0) * 1%) 0 0); transition: none; }
.cx-blueprint .cx-a { transition: clip-path 1.5s cubic-bezier(.5, 0, .2, 1), opacity 1.5s ease; }
.cx-blueprint.is-drawing .cx-a { clip-path: inset(0 100% 0 0); opacity: .4; }
.cx-line {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--p, 0) * 1%); width: 0;
  pointer-events: none; transition: opacity .4s;
}
.cx-blueprint.is-drawing .cx-line { opacity: 0; }
.cx-line::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: var(--accent); box-shadow: 0 0 18px var(--accent), 0 0 4px var(--accent);
}
.cx-handle {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); pointer-events: auto;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: ew-resize; touch-action: none;
  background: var(--accent); color: #0b2547; box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
  display: grid; place-items: center;
}
.cx-handle svg { width: 26px; height: 26px; }
.cx-handle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cx-tag {
  position: absolute; top: 22%; padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  font: 600 .72rem/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .16em; text-transform: uppercase;
  background: rgba(11, 37, 71, .75); color: #fff; border: 1px solid rgba(255, 255, 255, .3);
}
.cx-tag-l { right: 14px; }
.cx-tag-r { left: 14px; }
@media (max-width: 899px) { .cx-line { bottom: 52%; } .cx-tag { top: 30%; } .cx-handle { top: 62%; } }

@media (prefers-reduced-motion: reduce) {
  .cx-b, .cx-blueprint .cx-a, .cx-chip, .cx-toggle { transition: none !important; }
  .cx-hint, .cx-switch .cx-plate::after { animation: none; }
  .cx-ring { display: none; }
  .cx-shake { animation: none; }
}

/* logo: transparent badge, no box */
.brand-logo { height: 58px; width: auto; background: none; border-radius: 0; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); }
@media (max-width: 640px) { .brand-logo { height: 48px; } }
#work img { border-radius: 12px; transition: transform .3s ease; }
#work li:hover img, #work figure:hover img { transform: scale(1.02); }
.svc-card { transition: transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) { .svc-card, #work img { transition: none; } }

/* A: Hammer Strike - bold navy and gold */
.svc-card { border-top: 3px solid var(--accent); }
.band { border-bottom: 1px solid rgba(212, 166, 74, .35); }

/* service icons */
.svc-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 14px; background: var(--primary); color: var(--accent); box-shadow: 0 6px 16px -10px rgba(13, 26, 46, .6); }
.svc-ic svg { width: 28px; height: 28px; }
.svc-card:hover .svc-ic { transform: translateY(-2px); transition: transform .2s ease; }
@media (max-width: 640px) { .svc-ic { width: 44px; height: 44px; border-radius: 12px; } .svc-ic svg { width: 24px; height: 24px; } }
/* services as icon cards: 3 across on desktop, 2 on tablet, 1 on phone */
#services .svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { #services .svc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #services .svc { grid-template-columns: 1fr; gap: 12px; } }
#services .svc-card { border-top: 0; padding: 22px 20px 18px; background: #fff; border: 1px solid rgba(13, 26, 46, .09); border-radius: 16px; box-shadow: 0 10px 28px -22px rgba(13, 26, 46, .55); transition: transform .2s ease, box-shadow .2s ease; }
#services .svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(13, 26, 46, .6); }
#services .svc-ic { width: 60px; height: 60px; border-radius: 16px; }
#services .svc-ic svg { width: 32px; height: 32px; }
#services .svc-card h3 { font-size: 1.15rem; }
#services .svc-card p { font-size: .95rem; }
@media (max-width: 560px) { #services .svc-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 16px; } #services .svc-ic { width: 52px; height: 52px; margin: 0; grid-row: span 3; } #services .svc-body { display: contents; } }

/* phones: smaller hero copy + lighter scrim so the room shows (same words) */
@media (max-width: 640px) {
  .hero-full.cx { padding-block: 40px 26px; }
  .hero-full.cx h1 { font-size: 1.85rem !important; line-height: 1.07; }
  .hero-full.cx .lead { font-size: .92rem; line-height: 1.45; margin-top: 8px; }
  .cx-kicker { font-size: .62rem; margin-bottom: 10px; }
  .cx-kicker::before { width: 18px; }
  .hero-full.cx .btn { min-height: 42px; padding: .5em 1em; font-size: .9rem; }
  .hero-full.cx .cta-row { gap: 8px; margin-top: 14px; }
  .hero-full.cx .hero-rating { font-size: .8rem; margin-top: 10px; }
  .cx-scrim { background: linear-gradient(0deg, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .55) 32%, transparent 58%) !important; }
}

/* gallery: taller frames so portrait job photos stay centered and level, not chopped */
#work .gallery img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }

/* Meet Xavier */
.meet { padding-block: clamp(56px, 8vw, 96px); background: var(--dark); color: #fff; }
.meet .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.meet figure { margin: 0; position: relative; }
.meet img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.meet figure::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--accent); border-radius: 18px; z-index: -1; }
.meet .k { color: var(--accent); font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.meet h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 16px; }
.meet p.t { color: rgba(255, 255, 255, .82); font-size: 1.05rem; line-height: 1.65; margin: 0 0 14px; }
.meet ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.meet li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; }
.meet li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }
@media (max-width: 820px) { .meet .wrap { grid-template-columns: 1fr; } .meet figure { max-width: 420px; margin-inline: auto; } }
.meet figure { isolation: isolate; }
.meet .mq { margin: 0 0 14px; padding: 14px 18px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .05); border-radius: 0 12px 12px 0; }
.meet .mq p { margin: 0 0 6px; color: #fff; font-size: 1.02rem; line-height: 1.55; font-style: italic; }
.meet .mq cite { color: rgba(255, 255, 255, .65); font-size: .85rem; font-style: normal; }
.meet .mq-k { margin-top: 26px; }

/* phones: swipeable photo row instead of a long stack */
.swipe-hint { display: none; }
@media (max-width: 640px) {
  #work .gallery { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 6px; scroll-padding-inline: 16px; }
  #work .gallery::-webkit-scrollbar { display: none; }
  #work .gallery li { flex: 0 0 80%; scroll-snap-align: start; }
  #work .gallery img { border-radius: 14px; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; color: var(--muted, #6b6b6b); font-size: .88rem; font-weight: 600; }
  .swipe-hint svg { width: 18px; height: 18px; }
}

/* phones/tablets: compact Call pill + hamburger (desktop unchanged) */
.m-actions, .m-menu { display: none; }
@media (max-width: 899px) {
  .top .call-full { display: none; }
  .m-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .m-call { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--dark); color: var(--light); font-weight: 700; font-size: .92rem; text-decoration: none; }
  .m-call .i { width: 16px; height: 16px; }
  .m-burger { display: inline-grid; place-content: center; gap: 4px; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
  .m-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .2s ease, opacity .2s ease; }
  .m-open .m-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .m-open .m-burger span:nth-child(2) { opacity: 0; }
  .m-open .m-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .m-menu:not([hidden]) { display: grid; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 16px; background: var(--light); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(13, 26, 46, .45); }
  .m-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--dark); font-weight: 600; text-decoration: none; }
  .m-menu a.m-quote { justify-content: center; margin-top: 12px; border: 0; border-radius: 12px; background: var(--accent); color: var(--dark); font-weight: 700; }
}
