/* ══════════════════════════════════════════════════════════════
   SHOPFRONT — drawn physical storefront, brought online
   The hero centerpiece. CSS-only illustration with quiet motion.
   ══════════════════════════════════════════════════════════════ */

.shopfront{
  position:relative;
  margin:0;
  width:100%;
  aspect-ratio: 4/4.4;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(180deg,#f0e2c8 0%,#e6d2af 60%,#d8bd92 100%);
  box-shadow:
    0 30px 60px -20px rgba(26,20,18,.45),
    0 12px 30px -10px rgba(26,20,18,.18),
    inset 0 0 0 1px rgba(26,20,18,0.10);
}

/* ── sky / atmosphere (top 55%) ── */
.sf-sky{
  position:absolute; inset:0 0 45% 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 30%,rgba(255,222,170,0.85) 0%,rgba(255,222,170,0) 55%),
    linear-gradient(180deg,#ead4ad 0%,#dcc095 100%);
}
.sf-sky::after{ /* drifting light */
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 30% 40% at 30% 30%,rgba(255,240,210,0.45),transparent 60%);
  animation: sfDayDrift 14s ease-in-out infinite;
}
@keyframes sfDayDrift{
  0%,100%{ transform:translate(0,0); opacity:.7; }
  50%{ transform:translate(40px,-6px); opacity:1; }
}

/* ── pavement / street (bottom) ── */
.sf-street{
  position:absolute; left:0; right:0; bottom:0; height:14%;
  background:linear-gradient(180deg,#b89a72 0%,#9c7e58 100%);
  border-top:1px solid rgba(26,20,18,0.18);
}
.sf-pavement{
  position:absolute; left:0; right:0; bottom:0; height:9%;
  background:repeating-linear-gradient(90deg,
    #c9ad85 0 38px, #b89a72 38px 39px);
  border-top:1px solid rgba(26,20,18,0.12);
}
.sf-step{
  position:absolute; left:32%; right:32%; bottom:9%; height:2.6%;
  background:linear-gradient(180deg,#8a7458 0%,#6e5a3f 100%);
  border-top:1px solid rgba(0,0,0,0.18);
  box-shadow: 0 2px 4px -1px rgba(26,20,18,.25);
}

/* ──────────────────────────────────────────────────────────────
   AWNING — striped, with scallop edge
   ────────────────────────────────────────────────────────────── */
.sf-awning{
  position:absolute; left:6%; right:6%; top:11%; height:9%;
  z-index:3;
  filter: drop-shadow(0 6px 10px rgba(26,20,18,0.22));
}
.sf-awning-stripes{
  position:absolute; inset:0;
  background:repeating-linear-gradient(90deg,
    var(--terra-500) 0 22px,
    #fefbf6 22px 44px);
  border-radius:6px 6px 0 0;
  border:1px solid rgba(26,20,18,0.18);
  border-bottom:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.sf-awning-scallop{
  position:absolute; left:-1px; right:-1px; bottom:-9px; height:11px;
  background-image:
    radial-gradient(circle 7px at 11px 0, var(--terra-500) 99%, transparent 100%),
    radial-gradient(circle 7px at 33px 0, #fefbf6 99%, transparent 100%);
  background-size: 44px 11px;
  background-repeat:repeat-x;
  filter: drop-shadow(0 1px 0 rgba(26,20,18,0.18));
}

/* ──────────────────────────────────────────────────────────────
   SHOP SIGN — above the awning (the brand mark)
   ────────────────────────────────────────────────────────────── */
.sf-sign{
  position:absolute; left:50%; top:3.5%; transform:translateX(-50%);
  z-index:4;
  display:flex; flex-direction:column; align-items:center; gap:1px;
  background:#1a1412;
  color:#fefbf6;
  padding:7px 22px 5px;
  border-radius:3px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 8px 16px -6px rgba(26,20,18,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.sf-sign::before, .sf-sign::after{ /* mounting screws */
  content:''; position:absolute; top:50%; transform:translateY(-50%);
  width:4px; height:4px; border-radius:50%;
  background:radial-gradient(circle,#c9b89c 0%,#7a6849 70%);
  box-shadow:inset 0 0 0 0.5px rgba(0,0,0,0.4);
}
.sf-sign::before{ left:5px; }
.sf-sign::after{ right:5px; }
.sf-sign-mark{ font-size:9px; color:var(--terra-300); }
.sf-sign-name{
  font-family:var(--font-display); font-style:italic; font-weight:300;
  font-size:18px; letter-spacing:-0.01em; line-height:1;
}
.sf-sign-est{
  font-size:7.5px; letter-spacing:0.32em; text-transform:uppercase;
  color:rgba(254,251,246,0.55);
  margin-top:2px;
}

/* ──────────────────────────────────────────────────────────────
   WINDOW — the main showcase
   ────────────────────────────────────────────────────────────── */
.sf-window{
  position:absolute;
  left:8%; right:8%;
  top:20%;
  bottom:14%;
  background:linear-gradient(180deg,#fefbf6 0%,#f5e9d2 100%);
  border:6px solid #4a3826;
  border-radius:4px;
  box-shadow:
    inset 0 2px 8px rgba(26,20,18,0.18),
    inset 0 0 0 1px rgba(26,20,18,0.30),
    0 6px 14px -4px rgba(26,20,18,0.25);
  overflow:hidden;
}
.sf-window::before{ /* top frame mullion */
  content:''; position:absolute; left:0; right:0; top:38%; height:3px;
  background:#4a3826;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  z-index:5;
}
/* glass reflection — slow shimmer */
.sf-window-glass{
  position:absolute; inset:0;
  background:linear-gradient(115deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,0.45) 42%,
    rgba(255,255,255,0.10) 50%,
    transparent 62%,
    transparent 100%);
  background-size:200% 200%;
  background-position:120% 0;
  animation: sfShimmer 9s ease-in-out infinite;
  z-index:6;
  pointer-events:none;
  mix-blend-mode:screen;
}
@keyframes sfShimmer{
  0%   { background-position:120% 0; opacity:.65; }
  60%  { background-position:-20% 0; opacity:.85; }
  100% { background-position:-20% 0; opacity:0; }
}
/* subtle reflection vignette */
.sf-window::after{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 30% at 50% 8%,rgba(255,255,255,0.45),transparent 60%),
    linear-gradient(180deg,transparent 60%,rgba(26,20,18,0.05) 100%);
  pointer-events:none; z-index:4;
}

/* ──────────────────────────────────────────────────────────────
   OPEN — NOW ONLINE  hanging sign
   ────────────────────────────────────────────────────────────── */
.sf-open{
  position:absolute;
  top:0; right:8%;
  z-index:7;
  transform-origin: 50% 0;
  animation: sfSwing 5s ease-in-out infinite;
}
@keyframes sfSwing{
  0%,100%{ transform:rotate(-2.5deg); }
  50%    { transform:rotate(2.5deg); }
}
.sf-open-string{
  width:1px; height:18px; background:#3a2f22;
  margin:0 auto;
}
.sf-open-card{
  margin-top:18px;
  background:#fefbf6;
  border:2px solid #1a1412;
  padding:8px 14px 7px;
  border-radius:3px;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  box-shadow:
    0 6px 10px -4px rgba(26,20,18,0.35),
    inset 0 0 0 3px #fefbf6,
    inset 0 0 0 4px rgba(26,20,18,0.08);
  position:relative;
}
.sf-open-card::before, .sf-open-card::after{
  content:''; position:absolute; top:-8px; width:4px; height:4px; border-radius:50%;
  background:#1a1412;
}
.sf-open-card::before{ left:8px; }
.sf-open-card::after{ right:8px; }
.sf-open-row1{
  font-family:var(--font-display); font-weight:500; font-size:18px;
  letter-spacing:0.06em; line-height:1; color:#1a1412;
}
.sf-open-rule{ display:block; width:36px; height:1px; background:rgba(26,20,18,0.4); }
.sf-open-row2{
  font-size:8.5px; letter-spacing:0.32em; text-transform:uppercase;
  color:var(--terra-500);
  display:flex; align-items:center; gap:5px;
}
.sf-open-row2 .dot{
  width:6px; height:6px; border-radius:50%; background:var(--terra-500);
  box-shadow: 0 0 0 0 rgba(184,69,31,0.5);
  animation: sfDotPulse 1.8s ease-out infinite;
}
@keyframes sfDotPulse{
  0%   { box-shadow: 0 0 0 0 rgba(184,69,31,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(184,69,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,69,31,0); }
}

/* ──────────────────────────────────────────────────────────────
   MANNEQUIN — silhouette in the window
   ────────────────────────────────────────────────────────────── */
.sf-mannequin{
  position:absolute;
  left:9%;
  bottom:6%;
  width:22%;
  height:62%;
  z-index:3;
}
.sf-mannequin .m-head{
  position:absolute; left:50%; top:0;
  transform:translateX(-50%);
  width:38%; aspect-ratio:1; border-radius:50%;
  background:linear-gradient(180deg,#dcc8a8 0%,#b89a72 100%);
  box-shadow: inset -4px -4px 8px rgba(0,0,0,0.18);
}
.sf-mannequin .m-shoulders{
  position:absolute; left:0; right:0; top:18%; height:14%;
  background:linear-gradient(180deg,#7c2a0f 0%,#5a1f0a 100%);
  border-radius:50% 50% 4px 4px / 80% 80% 4px 4px;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.25);
}
.sf-mannequin .m-torso{
  position:absolute; left:14%; right:14%; top:30%; bottom:8%;
  background:
    repeating-linear-gradient(180deg,
      rgba(255,255,255,0.07) 0 2px,
      transparent 2px 5px),
    linear-gradient(180deg,#9a3412 0%,#7c2a0f 60%,#5a1f0a 100%);
  border-radius: 22% 22% 14% 14% / 6% 6% 2% 2%;
  box-shadow: inset -6px -2px 12px rgba(0,0,0,0.22);
}
.sf-mannequin .m-stand{
  position:absolute; left:48%; bottom:0; width:4%; height:8%;
  background:linear-gradient(180deg,#3a2f22 0%,#1a1412 100%);
  border-radius:0 0 2px 2px;
}
.sf-mannequin .m-stand::after{
  content:''; position:absolute; left:-200%; right:-200%; bottom:0; height:3px;
  background:#1a1412; border-radius:50%;
}

/* ──────────────────────────────────────────────────────────────
   SHELVES — folded goods on the right
   ────────────────────────────────────────────────────────────── */
.sf-shelves{
  position:absolute;
  right:8%;
  top:46%;
  bottom:6%;
  width:38%;
  display:flex; flex-direction:column;
  justify-content:flex-end; gap:8%;
  z-index:3;
}
.sf-shelf{
  position:relative;
  display:flex; align-items:flex-end; justify-content:flex-start;
  gap:6%;
  padding:0 2%;
  border-bottom:3px solid #4a3826;
  height:30%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.sf-shelf .g{
  display:block;
  border-radius:2px;
  height:60%;
  box-shadow:
    inset -2px -2px 4px rgba(0,0,0,0.18),
    0 1px 2px rgba(26,20,18,0.18);
}
/* folded items — varied in width + colour */
.g.g1{ width:18%; background:linear-gradient(180deg,#cc7a44,#7c2a0f); }
.g.g2{ width:14%; height:45%; background:linear-gradient(180deg,#dcc8a8,#9c7e58); }
.g.g3{ width:22%; height:70%; background:linear-gradient(180deg,#3a2f22,#1a1412); }
.g.g4{ width:14%; background:linear-gradient(180deg,#b89a72,#7a5e3d); }
.g.g5{ width:18%; height:50%; background:linear-gradient(180deg,#3f5e3f,#1a2f1a); }
.g.g6{ width:12%; height:65%; background:linear-gradient(180deg,#dd9e6e,#9a3412); }
.g.g7{ width:18%; height:55%; background:linear-gradient(180deg,#c9b89c,#8a7458); }
.g.g8{ width:24%; height:55%; background:linear-gradient(180deg,#7c2a0f,#3a1605); }
.g.g9{ width:20%; height:75%; background:linear-gradient(180deg,#3a2f22,#1a1412); }

/* ──────────────────────────────────────────────────────────────
   WINDOW DECALS — painted lettering
   ────────────────────────────────────────────────────────────── */
.sf-decal{
  position:absolute;
  z-index:5;
  display:flex; flex-direction:column; align-items:center; line-height:0.9;
  font-family:var(--font-display); font-style:italic; font-weight:300;
  color:rgba(26,20,18,0.55);
  pointer-events:none;
}
.sf-decal-l{
  left:6%; top:8%;
  font-size:13px;
}
.sf-decal-l span:first-child{ font-size:14px; letter-spacing:-0.01em; }
.sf-decal-l span:last-child{ font-style:normal; font-size:8px; letter-spacing:0.32em; text-transform:uppercase; margin-top:2px; }
.sf-decal-r{
  right:6%; top:8%;
  flex-direction:row; gap:4px;
  font-size:9px;
  color: var(--terra-500);
}
.sf-decal-r span:first-child{ color:rgba(26,20,18,0.4); }

/* ──────────────────────────────────────────────────────────────
   PRICE TAG — hanging, gentle bob
   ────────────────────────────────────────────────────────────── */
.sf-pricetag{
  position:absolute;
  left:32%;
  top:28%;
  z-index:8;
  display:flex; flex-direction:column; align-items:center; gap:1px;
  background:#fefbf6;
  border:1px solid #1a1412;
  padding:6px 12px 7px;
  border-radius:3px;
  font-family:var(--font-display);
  box-shadow: 0 4px 8px -3px rgba(26,20,18,0.25);
  animation: sfTagBob 4s ease-in-out infinite;
}
@keyframes sfTagBob{
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-3px) rotate(-1deg); }
}
.sf-pricetag::before{ /* string */
  content:''; position:absolute; top:-14px; left:50%;
  width:1px; height:14px; background:#3a2f22;
}
.sf-pricetag::after{ /* hole */
  content:''; position:absolute; top:3px; left:50%; transform:translateX(-50%);
  width:4px; height:4px; border-radius:50%; background:#1a1412;
}
.pt-row1{
  font-size:8px; letter-spacing:0.28em; text-transform:uppercase;
  color:var(--terra-500); margin-top:4px;
}
.pt-row2{
  font-style:italic; font-weight:400; font-size:14px; color:#1a1412;
}

/* ──────────────────────────────────────────────────────────────
   DOOR — beside the window
   ────────────────────────────────────────────────────────────── */
.sf-door{
  position:absolute;
  left:35%; right:35%;
  top:26%;
  bottom:11.6%;
  background:linear-gradient(180deg,#5a3e22 0%,#3a2614 100%);
  border:3px solid #2a1a08;
  border-radius:4px 4px 0 0;
  box-shadow: 0 6px 14px -4px rgba(26,20,18,0.28);
  display:none; /* this design hides separate door — window dominates */
}
/* re-enable as a quiet detail beneath window — actually window covers full width above step */
.sf-door-glass, .sf-door-handle, .sf-door-hours{ display:none; }

/* ──────────────────────────────────────────────────────────────
   PLANTER — sits on the pavement, leaves sway
   ────────────────────────────────────────────────────────────── */
.sf-planter{
  position:absolute;
  left:4%;
  bottom:9%;
  width:11%;
  aspect-ratio: 1/1.4;
  z-index:6;
}
.sf-planter .pot{
  position:absolute; left:10%; right:10%; bottom:0; height:42%;
  background:linear-gradient(180deg,#a85c2c 0%,#7c2a0f 100%);
  border-radius:6% 6% 14% 14%;
  box-shadow:
    inset -4px -2px 8px rgba(0,0,0,0.22),
    0 2px 4px rgba(26,20,18,0.18);
}
.sf-planter .pot::before{
  content:''; position:absolute; top:0; left:-4%; right:-4%; height:18%;
  background:#7c2a0f; border-radius:4px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.25);
}
.sf-planter .leaf{
  position:absolute;
  width:60%; height:55%;
  background:linear-gradient(135deg,#3f5e3f 0%,#2a4a2a 100%);
  border-radius: 50% 6% 50% 6%;
  transform-origin: 50% 100%;
  box-shadow: inset -2px -2px 6px rgba(0,0,0,0.2);
}
.sf-planter .leaf.l1{
  left:6%; bottom:38%;
  transform: rotate(-32deg);
  animation: sfLeafSway 6s ease-in-out infinite;
}
.sf-planter .leaf.l2{
  left:24%; bottom:42%;
  transform: rotate(-4deg);
  width:54%; height:62%;
  animation: sfLeafSway 6s ease-in-out -2s infinite;
}
.sf-planter .leaf.l3{
  right:0%; bottom:38%;
  transform: rotate(28deg);
  width:50%; height:50%;
  animation: sfLeafSway 6s ease-in-out -4s infinite;
}
@keyframes sfLeafSway{
  0%,100% { transform: rotate(var(--r,-32deg)) translateX(0); }
  50%     { transform: rotate(calc(var(--r,-32deg) + 4deg)) translateX(1px); }
}
.sf-planter .l1{ --r:-32deg; }
.sf-planter .l2{ --r:-4deg; }
.sf-planter .l3{ --r:28deg; }

/* ──────────────────────────────────────────────────────────────
   SIGNAL RINGS — radiating from URL chip (broadcasting online)
   ────────────────────────────────────────────────────────────── */
.sf-signal{
  position:absolute;
  right:-6%;
  top:38%;
  width:30%;
  aspect-ratio:1;
  z-index:9;
  pointer-events:none;
  filter: drop-shadow(0 2px 6px rgba(184,69,31,0.18));
}
.sf-signal .sf-ring{ transform-origin:110px 110px; }
.sf-ring.r1{ animation: sfRingPulse 2.4s ease-out infinite; }
.sf-ring.r2{ animation: sfRingPulse 2.4s ease-out -0.8s infinite; }
.sf-ring.r3{ animation: sfRingPulse 2.4s ease-out -1.6s infinite; }
@keyframes sfRingPulse{
  0%   { transform: scale(0.55); opacity:0.55; }
  100% { transform: scale(1.3);  opacity:0;    }
}

/* ──────────────────────────────────────────────────────────────
   URL CHIP — the shop, on the internet
   ────────────────────────────────────────────────────────────── */
.sf-urlchip{
  position:absolute;
  right:-3%;
  top:42%;
  z-index:10;
  display:inline-flex; align-items:center; gap:8px;
  background:#fefbf6;
  border:1px solid rgba(26,20,18,0.18);
  padding:8px 14px 8px 12px;
  border-radius:9999px;
  font-family:'Courier New',monospace;
  font-size:11px; letter-spacing:0.04em;
  color:#1a1412;
  box-shadow:
    0 8px 16px -6px rgba(26,20,18,0.25),
    0 2px 4px -1px rgba(26,20,18,0.10);
  animation: sfChipFloat 5s ease-in-out infinite;
}
@keyframes sfChipFloat{
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-4px); }
}
.sf-urlchip .dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--terra-500);
  box-shadow: 0 0 0 0 rgba(184,69,31,0.5);
  animation: sfDotPulse 2s ease-out infinite;
}
.sf-urlchip .u{ font-weight:600; color:var(--ink); }
.sf-urlchip .d{ color:var(--ink-muted); }
.sf-urlchip .cursor{
  width:1px; color:var(--terra-500); margin-left:1px;
  animation: sfCaret 1s steps(2) infinite;
}
@keyframes sfCaret{ 0%,49%{ opacity:1; } 50%,100%{ opacity:0; } }

/* hide the unused decal-l "Resort 26" stack on small frames */
@media (max-width:1100px){
  .sf-decal-l, .sf-decal-r{ display:none; }
}

/* ══════════════════════════════════════════════════════════════
   HERO ENTRY ANIMATIONS — fade-up on load
   ══════════════════════════════════════════════════════════════ */
.hero-rule-row,
.hero-copy h1,
.hero-copy p,
.hero-copy .cta,
.hero-copy .meta-row,
.hero-visual{
  opacity:0; transform:translateY(20px);
  animation: sfRise .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-rule-row { animation-delay: .05s; }
.hero-copy h1  { animation-delay: .15s; }
.hero-copy p   { animation-delay: .25s; }
.hero-copy .cta{ animation-delay: .35s; }
.hero-copy .meta-row{ animation-delay: .45s; }
.hero-visual   { animation-delay: .25s; animation-duration:1.1s; }
@keyframes sfRise{
  to{ opacity:1; transform:translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
