/* Native navigation remains intact; browsers without View Transitions navigate normally. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pernook-out 351ms ease-out both; }
::view-transition-new(root) { animation: pernook-in 594ms cubic-bezier(.16,.8,.25,1) both; }
@keyframes pernook-out { to { opacity: 0; transform: translateY(-14px) scale(.99); } }
@keyframes pernook-in { from { opacity: 0; transform: translateY(24px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes pernook-welcome { from { opacity: .35; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes pernook-drawer { from { opacity: .5; translate: 28px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes pernook-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-content, .store-intro, .about-simple-heading { animation: none; }
  .site-header .brand-mark { transition: rotate 513ms cubic-bezier(.2,.65,.3,1); }
  .site-header .brand:hover .brand-mark { rotate: -8deg; }
  .experience-card, .store-product, .space-card { transition: border-color 324ms ease, box-shadow 324ms ease; }
  .footer-column a, .card-content > a, .product-enquiry { text-decoration-color: transparent; text-underline-offset: 5px; transition: color 270ms ease, text-decoration-color 270ms ease; }
  .footer-column a:hover, .product-enquiry:hover { text-decoration: underline; text-decoration-color: currentColor; }
  main input:not([type="checkbox"]):not([type="radio"]), main textarea, main select { transition: border-color 270ms ease, box-shadow 270ms ease, background-color 270ms ease; }
  main input:focus-visible, main textarea:focus-visible, main select:focus-visible { outline: 2px solid #a77b2c; outline-offset: 3px; }
  .cart-submit, .add-to-cart-preview, .product-gallery-arrow, .port-controls button, .space-card, .gallery-thumbnails button, .workshop-media-controls button { transition: background-color 270ms ease, border-color 270ms ease, color 270ms ease, box-shadow 270ms ease; }
  .cart-drawer[open] { animation: pernook-drawer 405ms cubic-bezier(.2,.65,.3,1) both; }
  .cart-drawer[open]::backdrop { animation: pernook-backdrop 324ms ease both; }
  .store-add-cart:active:not(:disabled), .cart-submit:active:not(:disabled), .add-to-cart-preview:active:not(:disabled) { scale: .98; }
  @media (hover: hover) and (pointer: fine) {
    .experience-card:hover, .store-product:hover { border-color: #b78a36; box-shadow: 0 8px 22px rgb(45 34 14 / 9%); }
    .space-card:hover, .port-controls button:hover { border-color: #b78a36; box-shadow: inset 0 0 0 1px #b78a36; }
    .cart-submit:hover:not(:disabled), .add-to-cart-preview:hover:not(:disabled) { box-shadow: 0 5px 16px rgb(45 34 14 / 16%); }
  }
  html { scroll-behavior: smooth; }
  .main-nav a { position: relative; }
  .main-nav a::after { content: ''; position: absolute; height: 1px; background: currentColor; left: 0; right: 0; bottom: -5px; transform: scaleX(0); transform-origin: left; transition: transform 297ms ease; pointer-events: none; }
  .main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .hero-button, .store-add-cart, .store-filters button { transition: background-color 243ms ease, color 243ms ease, border-color 243ms ease, box-shadow 243ms ease; }
  .store-product-visual img, .card-visual img { transition: transform 567ms cubic-bezier(.2,.65,.3,1); }
  @media (hover: hover) and (pointer: fine) {
    .store-product-visual:hover img, .experience-card:hover .card-visual img { transform: scale(1.085); }
    .store-add-cart:hover:not(:disabled), .hero-button:hover { box-shadow: 0 5px 14px rgb(30 27 24 / 12%); }
  }
  @media (max-width:1050px) {
    .main-nav { transition: opacity 297ms ease, transform 351ms cubic-bezier(.2,.65,.3,1), visibility 297ms; }
    .main-nav a::after { bottom: 7px; right: auto; width: 30px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}


.pernook-click-ring { position:fixed; z-index:9999; width:32px; height:32px; margin:-16px 0 0 -16px; border:3px solid #c99b45; border-radius:50%; pointer-events:none; }
@media (prefers-reduced-motion: no-preference) {
  .experience-card, .store-product, .space-card { transition: translate 405ms cubic-bezier(.2,.8,.3,1), rotate 405ms ease, border-color 270ms ease, box-shadow 338ms ease; }
  .hero-button, .store-add-cart, .add-to-cart-preview, .cart-submit, .find-us-button { transition: translate 338ms cubic-bezier(.2,1.5,.4,1), scale 243ms ease, box-shadow 270ms ease, background-color 270ms ease; }
  .main-nav a::after { height:3px; background:#b78a36; transition: transform 432ms cubic-bezier(.2,1.6,.4,1); }
  .site-header .brand:hover .brand-mark { rotate: 90deg; }
  .cart-drawer[open] { animation-duration:648ms; }
  .cart-drawer[open]::backdrop { animation-duration:473ms; }
  @media (hover:hover) and (pointer:fine) {
    .experience-card:hover, .store-product:hover { translate:0 -7px; rotate:-.6deg; box-shadow:7px 10px 0 #b78a3640; }
    .experience-card:nth-child(even):hover, .store-product:nth-child(even):hover { rotate:.6deg; }
    .space-card:hover { translate:4px 0; }
    .hero-button:hover, .store-add-cart:hover:not(:disabled), .add-to-cart-preview:hover:not(:disabled), .cart-submit:hover:not(:disabled), .find-us-button:hover { translate:0 -4px; box-shadow:4px 5px 0 #b78a3666; }
  }
  .hero-button:active, .store-add-cart:active:not(:disabled), .add-to-cart-preview:active:not(:disabled), .cart-submit:active:not(:disabled) { translate:0 1px; scale:.96; }
}
