/* REEL FOCUS v15: accessible bold hero CTAs and cinematic iPhone launch.
   Isolated overrides; all existing site, videos, portfolio and other interactions are retained. */

/* The same readability improvement extends to action buttons in the remaining site. */
.button{
  font-size:clamp(18px,1.6vw,22px);
  font-weight:800;
  line-height:1.25;
  min-height:54px;
  padding:16px 21px;
  gap:16px;
  white-space:normal;
}
.button span{font-size:clamp(20px,1.7vw,25px)}
.text-link{font-size:clamp(17px,1.5vw,21px);font-weight:750;line-height:1.3}
.desktop-nav a{font-size:14px;font-weight:600}
@media(max-width:540px){
 .button{font-size:18px;padding:16px 17px;min-height:54px;line-height:1.3}
 .text-link{font-size:18px}
}
/* Before: 10-11px. Now: 27-30px on the hero; stronger contrast and actual button shapes. */
.hero .hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  align-items:stretch;
  margin-top:30px;
}
.hero .hero-actions .button,
.hero .hero-actions .text-link {
  font-family:var(--sans);
  font-size:clamp(25px,2.05vw,30px);
  line-height:1.17;
  letter-spacing:-.038em;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:74px;
  padding:18px 23px;
  margin:0;
  border-radius:3px;
  white-space:nowrap;
  text-decoration:none;
  transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.hero .hero-actions .button-filled {
  background:#e2c59c;
  color:#11120f;
  box-shadow:0 10px 35px rgba(0,0,0,.24);
}
.hero .hero-actions .text-link {
  color:#f9f4ea;
  background:rgba(37,37,35,.96);
  border:1.5px solid #d7bb8d;
  border-bottom:1.5px solid #d7bb8d;
  box-shadow:0 9px 30px rgba(0,0,0,.18);
}
.hero .hero-actions .button span,
.hero .hero-actions .text-link span {
  font-size:30px;
  font-weight:600;
  margin:0;
  flex:none;
}
.hero .hero-actions .button:hover,
.hero .hero-actions .text-link:hover {
  transform:translateY(-4px);
  box-shadow:0 13px 42px rgba(205,181,147,.22);
}
.hero .hero-actions .text-link:hover{background:#38332d; color:#fff8eb}
.hero .hero-actions a:focus-visible,
.header-cta:focus-visible {
  outline:3px solid #fff4d6;
  outline-offset:4px;
}
/* Header action should be legible without forcing the header to reflow. */
.site-header .header-cta {font-size:18px;font-weight:800;padding:15px 17px;white-space:nowrap;margin-left:8px}
.site-header .header-cta span{font-size:21px;margin-left:10px}
/* Keep nav clear at laptop widths; preserve the existing layout elsewhere. */
@media (max-width:1380px) and (min-width:801px){
  .hero .hero-actions{flex-direction:column;align-items:flex-start}
  .hero .hero-actions .button,.hero .hero-actions .text-link{min-width:295px}
}
@media (max-width:1100px) and (min-width:801px){
  .site-header .desktop-nav{gap:18px}
  .site-header .header-cta{font-size:16px;padding:13px 14px}
}
@media(max-width:800px){
 .hero .hero-actions{flex-direction:column;align-items:flex-start;gap:13px;margin-top:23px}
 .hero .hero-actions .button,.hero .hero-actions .text-link{
    font-size:clamp(24px,6.8vw,29px);
    width:min(100%,350px);
    min-height:70px;
    padding:18px 20px;
 }
 .hero .hero-actions .button span,.hero .hero-actions .text-link span{font-size:27px}
 .mobile-menu a{font-size:21px;font-weight:700;padding:10px 0}
}
@media(max-width:800px){
 .hero-grid,.hero-copy,.hero .hero-actions{min-width:0;max-width:100%}
 .hero .hero-actions .button,.hero .hero-actions .text-link{width:100%;max-width:350px;min-width:0}
}
@media(max-width:365px){
 .hero h1{font-size:clamp(37px,12vw,43px)}
 .hero .hero-actions .button,.hero .hero-actions .text-link{font-size:23px;padding:15px;min-height:67px;gap:8px;max-width:100%}
}

/* The hero introduction bursts forward as a full cinematic iPhone, not a square. */
.reel-video-dialog.rf-phone-mode {
  background:radial-gradient(ellipse at 50% 48%,rgba(115,81,45,.24) 0%,rgba(15,14,13,.96) 41%,rgba(4,4,5,.98) 80%);
  overflow:hidden;
  perspective:1600px;
  isolation:isolate;
}
.reel-video-dialog.rf-phone-mode::before{
  content:'';position:absolute;inset:-40%;pointer-events:none;
  background:conic-gradient(from 0deg at 50% 50%,transparent 0deg,rgba(230,184,105,.055) 18deg,transparent 40deg,transparent 160deg,rgba(235,193,120,.08) 182deg,transparent 218deg);
  z-index:0;opacity:0;
}
.reel-video-dialog.rf-pop-active.rf-phone-mode::before{animation:rfPopLens 1.15s ease-out both}
.reel-video-dialog.rf-phone-mode .reel-video-panel{
  width:min(420px,calc(100vw - 32px),calc((100dvh - 34px)*.53));
  height:min(790px,calc(100dvh - 34px));
  max-height:calc(100dvh - 34px);
  overflow:hidden;
  background:#050506;
  border:8px solid #4a4944;
  border-radius:53px;
  box-shadow:0 0 0 1px rgba(242,211,159,.82),0 0 0 5px rgba(15,15,15,.9),0 30px 135px rgba(0,0,0,.97),0 0 70px rgba(190,134,66,.34),inset 0 0 0 1px rgba(255,255,255,.3);
  transform-origin:50% 76%;
  position:relative;
  will-change:transform;
}
.reel-video-dialog.rf-pop-active.rf-phone-mode .reel-video-panel{
  animation:rfIphoneFlyIn .95s cubic-bezier(.18,.83,.23,1) both;
}
/* Black camera pill = phone's Dynamic Island. */
.reel-video-dialog.rf-phone-mode .reel-video-panel::before{
  content:'';position:absolute;z-index:6;pointer-events:none;
  top:10px;left:50%;transform:translateX(-50%);
  width:98px;height:23px;background:#030303;border:1px solid #242424;border-radius:30px;
  box-shadow:0 1px 3px rgba(0,0,0,.7);
}
.reel-video-dialog.rf-phone-mode .reel-video-panel::after{
  content:'';position:absolute;inset:0;border-radius:44px;pointer-events:none;z-index:5;
  border:1px solid rgba(255,240,213,.18);
  box-shadow:inset 5px 0 14px rgba(255,225,175,.11),inset -5px 0 14px rgba(255,225,175,.07);
}
.reel-video-dialog.rf-phone-mode #reel-introduction {
  position:absolute;
  inset:0;
  width:100%;height:100%;max-height:none;
  aspect-ratio:auto;object-fit:contain;
  display:block;background:#050505;
  border-radius:43px;
}
.reel-video-dialog.rf-phone-mode .reel-video-toolbar{
  position:absolute;top:42px;left:0;right:0;height:45px;z-index:7;
  pointer-events:none;display:flex;justify-content:flex-end;padding:0 10px;
}
.reel-video-dialog.rf-phone-mode #reel-video-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.reel-video-dialog.rf-phone-mode .reel-video-close{
  pointer-events:auto;width:45px;height:45px;border-radius:50%;font-size:22px;
  background:rgba(5,5,5,.76);color:#fff1da;border:1px solid rgba(234,205,160,.65);
  box-shadow:0 7px 20px rgba(0,0,0,.35);
}
.reel-video-dialog.rf-phone-mode .reel-direct-link {
  position:absolute;z-index:8;bottom:56px;left:50%;transform:translateX(-50%);
  width:max-content;max-width:87%;font-size:13px;font-weight:700;
  background:rgba(0,0,0,.79);color:#f6d8a5;
  border:1px solid #ad8958;border-radius:6px;padding:8px 12px;
  text-decoration:none;
}
.reel-video-dialog.rf-phone-mode .reel-video-status{
  position:absolute;z-index:9;left:8px;right:8px;bottom:103px;
  border-radius:8px;background:rgba(0,0,0,.8);padding:10px;
}
@keyframes rfIphoneFlyIn{
  0% {opacity:0;filter:blur(9px);transform:translate3d(20vw,34vh,-550px) rotate(-16deg) rotateY(15deg) scale(.20)}
  34% {opacity:1;filter:blur(1px);transform:translate3d(-2vw,-4vh,-60px) rotate(5deg) rotateY(-3deg) scale(1.085)}
  58% {opacity:1;filter:none;transform:translate3d(0,2vh,20px) rotate(-2deg) scale(.96)}
  79% {transform:translate3d(0,-1vh,0) rotate(1deg) scale(1.025)}
  100%{opacity:1;filter:none;transform:translate3d(0,0,0) rotate(0) rotateY(0) scale(1)}
}
@keyframes rfPopLens{
  0%{opacity:0;transform:scale(.5) rotate(0deg)}
  37%{opacity:1;transform:scale(1.02) rotate(21deg)}
  100%{opacity:.35;transform:scale(1) rotate(28deg)}
}
/* Accessibility: reduce motion instead of disabling functionality. */
@media(prefers-reduced-motion:reduce){
 .reel-video-dialog.rf-pop-active.rf-phone-mode .reel-video-panel,
 .reel-video-dialog.rf-pop-active.rf-phone-mode::before{animation:none;opacity:1;transform:none;filter:none}
 .hero .hero-actions .button,.hero .hero-actions .text-link{transition:none}
}


/* v16: animate the actual hero iPhone from its on-page position */
.rf-launch-ghost{
  position:fixed;
  z-index:9999;
  overflow:hidden;
  border:5px solid #3f3f3b;
  background:#050506;
  border-radius:45px;
  box-shadow:0 20px 0 -11px #303330,0 38px 75px rgba(0,0,0,.74),0 0 0 1px #ae9470, inset 0 0 0 1px #eee2cc30,0 0 80px rgba(197,147,79,.24);
  pointer-events:none;
}
.rf-launch-ghost::before{content:'';position:absolute;inset:0;border-radius:39px;border:1px solid rgba(234,206,166,.26);box-shadow:inset 0 0 0 3px rgba(0,0,0,.35),inset 4px 0 14px rgba(255,241,211,.09)}
.rf-launch-ghost-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:38px}
.rf-launch-ghost-island{position:absolute;left:50%;transform:translateX(-50%);top:12px;width:87px;height:24px;border-radius:18px;background:#020202;box-shadow:inset 0 1px 2px #252525,0 0 0 1px #111;z-index:2}
.rf-launch-ghost-play{position:absolute;left:50%;top:64%;transform:translate(-50%,-50%);height:58px;width:58px;border-radius:50%;display:grid;place-items:center;padding-left:3px;font-family:system-ui;font-size:20px;color:#fff4e7;background:#050606a8;border:1px solid #f0dab58c;box-shadow:0 0 0 9px #dbc59e1c,0 7px 24px #0008;z-index:2}
.reel-video-dialog.rf-prep{background:radial-gradient(ellipse at 50% 48%,rgba(115,81,45,.16) 0%,rgba(15,14,13,.88) 41%,rgba(4,4,5,.94) 80%);overflow:hidden}
.reel-video-dialog.rf-prep .reel-video-panel{opacity:0;transform:none!important;animation:none!important}
.reel-video-dialog.rf-phone-mode .reel-video-panel{transform-origin:50% 50%}
.reel-video-dialog.rf-pop-active.rf-phone-mode .reel-video-panel{animation:rfPhoneSettle .22s ease-out both}
@keyframes rfPhoneSettle{0%{opacity:.98;transform:scale(.985)}100%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.rf-launch-ghost{display:none}}
