:root{
  --bg:#06120c;
  --card:#0b1b12cc;
  --muted:#b7c8b3;
  --accent:#7fd28b;
  --glass: rgba(255,255,255,0.05);
  --accent-2:#3c8f59;
  --radius-lg: 16px;
  --space-fluid: clamp(1rem, 0.7rem + 1.4vw, 2rem);
  --step-2: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem);
  --font-body: Inter, system-ui, Arial, sans-serif;
  --font-heading: Inter, system-ui, Arial, sans-serif;
}

[data-font-theme="editorial"] {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, Arial, sans-serif;
}
[data-font-theme="heritage"] {
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', system-ui, Arial, sans-serif;
}
[data-font-theme="accessible"] {
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Atkinson Hyperlegible', sans-serif;
}

*{box-sizing:border-box}
html{
  height:100%;
  scroll-behavior:smooth;
  scrollbar-gutter:stable both-edges;
  color-scheme:dark;
}
body{margin:0;font-family:var(--font-body);color:#e6f6ed;background:linear-gradient(180deg,var(--bg),#041008);min-height:100%}
img,svg,video{display:block;max-inline-size:100%;block-size:auto}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
:where(h1,h2,h3,h4){text-wrap:balance}
:where(p,li){text-wrap:pretty}
.wrap{max-width:1100px;margin:0 auto;padding:var(--space-fluid)}
.site-header{position:fixed;left:0;right:0;top:0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:linear-gradient(180deg,rgba(8,10,14,0.6),transparent);border-bottom:1px solid rgba(255,255,255,0.03);z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem}
.brand{color:var(--accent);font-weight:600;text-decoration:none;display:flex;align-items:center;gap:0.65rem;font-family:var(--font-heading)}
.brand-logo{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(2,8,4,0.5))}
.site-header nav a{color:var(--muted);text-decoration:none;margin-left:1rem}
.hero{padding-top:120px;padding-bottom:120px;min-height:60vh;display:flex;align-items:center;position:relative;overflow:hidden}
.hero .wrap{position:relative;isolation:isolate}
.hero-profile{width:140px;height:140px;border-radius:999px;object-fit:cover;display:block;margin:0 0 1rem;border:2px solid rgba(127,210,139,0.35);box-shadow:0 10px 22px rgba(2,8,4,0.55)}
h1,h2,h3,h4{font-family:var(--font-heading);color:#fff;margin-top:0;font-weight:600}
.hero h1{font-size:var(--step-2);margin:0 0 .5rem}
.lead{color:var(--muted);margin:0 0 1rem}
.hero-note{color:#d7e9d6;margin:0.65rem 0;max-width:72ch;line-height:1.55}
.hero-points{margin:0.85rem 0 1.1rem;padding-left:1.1rem;color:var(--muted);max-width:72ch}
.hero-points li{margin:0.3rem 0}
.hero-cta-group{display:flex;gap:0.75rem;flex-wrap:wrap;align-items:center}
.btn{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#07190f;padding:.6rem 1rem;border-radius:8px;text-decoration:none}
.btn{font-weight:600;transition:transform .16s ease,filter .18s ease}
.btn:hover{transform:translateY(-1px);filter:saturate(1.05)}
.btn-ghost{background:transparent;border:1px solid rgba(127,210,139,0.45);color:#dff5e3}
.btn-ghost:hover{border-color:rgba(127,210,139,0.75);filter:none}
.social-links{display:inline-flex;gap:0.75rem;align-items:center;margin:0;flex-wrap:wrap;justify-content:center}
.social-badge{display:inline-flex;align-items:center;gap:0.5rem;padding:0.6rem 1rem;background:linear-gradient(135deg,rgba(127,210,139,0.18),rgba(60,143,89,0.12));border:1px solid rgba(127,210,139,0.35);border-radius:10px;color:var(--accent);text-decoration:none;font-size:0.88rem;font-weight:500;transition:transform .18s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,border-radius .2s ease}
.social-badge:hover{transform:translateY(-2px);background:linear-gradient(135deg,rgba(127,210,139,0.28),rgba(60,143,89,0.2));border-color:rgba(127,210,139,0.55);box-shadow:0 6px 16px rgba(127,210,139,0.25);border-radius:12px}
.pawshake-badge{background:linear-gradient(135deg,rgba(127,210,139,0.18),rgba(60,143,89,0.12));border-color:rgba(127,210,139,0.35);color:var(--accent)}
.pawshake-badge:hover{background:linear-gradient(135deg,rgba(127,210,139,0.28),rgba(60,143,89,0.2));border-color:rgba(127,210,139,0.55);box-shadow:0 6px 16px rgba(127,210,139,0.25)}
.website-badge{background:linear-gradient(135deg,rgba(79,172,254,0.18),rgba(38,115,210,0.12));border-color:rgba(79,172,254,0.35);color:#4facfe}
.website-badge:hover{background:linear-gradient(135deg,rgba(79,172,254,0.28),rgba(38,115,210,0.2));border-color:rgba(79,172,254,0.55);box-shadow:0 6px 16px rgba(79,172,254,0.25)}
.github-badge{background:linear-gradient(135deg,rgba(139,92,246,0.18),rgba(99,60,186,0.12));border-color:rgba(139,92,246,0.35);color:#a78bfa}
.github-badge:hover{background:linear-gradient(135deg,rgba(139,92,246,0.28),rgba(99,60,186,0.2));border-color:rgba(139,92,246,0.55);box-shadow:0 6px 16px rgba(139,92,246,0.25)}
.instagram-badge{background:linear-gradient(135deg,rgba(236,72,153,0.18),rgba(192,38,211,0.12));border-color:rgba(236,72,153,0.35);color:#f472b6}
.instagram-badge:hover{background:linear-gradient(135deg,rgba(236,72,153,0.28),rgba(192,38,211,0.2));border-color:rgba(236,72,153,0.55);box-shadow:0 6px 16px rgba(236,72,153,0.25)}
.social-icon{width:20px;height:20px;display:block;flex-shrink:0}
.social-label{color:#e6f6ed;font-size:0.875rem;font-weight:500}
.hero-shapes{position:absolute;inset:0;pointer-events:none;z-index:-1}
.shape{position:absolute;opacity:.4;filter:drop-shadow(0 8px 14px rgba(2,8,4,0.45))}
.shape--circle{
  width:clamp(64px,10vw,120px);
  aspect-ratio:1;
  border-radius:50%;
  right:6%;
  top:6%;
  background:radial-gradient(circle at 30% 30%,rgba(127,210,139,.7),rgba(60,143,89,.18) 70%,transparent 72%);
}
.shape--triangle{
  width:0;
  height:0;
  left:0;
  top:26%;
  border-left:28px solid transparent;
  border-right:28px solid transparent;
  border-bottom:48px solid rgba(127,210,139,.28);
}
.shape--diamond{
  width:56px;
  aspect-ratio:1;
  right:18%;
  bottom:8%;
  background:linear-gradient(160deg,rgba(127,210,139,.45),rgba(60,143,89,.15));
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
}
.section{padding:4rem 0}
.focus-track{transition:opacity .28s ease,filter .28s ease}
.focus-track{content-visibility:auto;contain-intrinsic-size:1px 760px}
.focus-track.is-dim{opacity:.42;filter:saturate(.72)}
.focus-track.is-active{opacity:1;filter:none}
.sticky-section{position:sticky;top:84px;z-index:18;background:linear-gradient(180deg,rgba(6,18,12,0.82),rgba(6,18,12,0.65));border:1px solid rgba(127,210,139,0.18);border-radius:16px;padding:1.5rem}
.sticky-embed{position:sticky;top:110px;z-index:16}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.card{background:linear-gradient(180deg,var(--card),rgba(15,23,36,0.5));padding:1.2rem;border-radius:12px;box-shadow:0 6px 18px rgba(2,6,10,0.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.card,.post{border-radius:var(--radius-lg)}
.muted{color:var(--muted);font-size:.95rem}
.gallery{position:relative}
.gallery-nav{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:space-between;padding:0 0.6rem}
.gallery-arrow{width:38px;height:38px;border-radius:999px;border:1px solid rgba(127,210,139,0.35);background:rgba(7,20,13,0.65);color:#e9fff1;cursor:pointer;transition:transform 0.15s ease,background 0.2s ease,border-color 0.2s ease;pointer-events:auto}
.gallery-arrow:hover{transform:translateY(-1px);background:rgba(127,210,139,0.18);border-color:rgba(127,210,139,0.6)}
.gallery-carousel{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:10vw;padding:0.2rem 0 0.6rem;cursor:grab;align-items:center}
.gallery-carousel:active{cursor:grabbing}
.gallery-carousel, .gallery-carousel *{-webkit-user-select:none;user-select:none;}
.gallery-carousel::-webkit-scrollbar{height:8px}
.gallery-carousel::-webkit-scrollbar-track{background:rgba(127,210,139,0.08);border-radius:999px}
.gallery-carousel::-webkit-scrollbar-thumb{background:rgba(127,210,139,0.35);border-radius:999px}
.gallery-carousel .photo-card{flex:0 0 auto;height:clamp(240px,56vh,620px);width:auto;min-width:220px;max-width:min(90vw,980px);scroll-snap-align:center;scroll-snap-stop:always;border-radius:16px;margin-right:0;transition:opacity 0.2s ease;aspect-ratio:var(--photo-ratio,4/3)}
.gallery-carousel .photo-card.is-dim{opacity:0.45}
.gallery-carousel .photo-img{width:100%;height:100%;object-fit:contain;pointer-events:none;background:rgba(6,16,11,0.35)}
.photo{min-height:140px;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));display:flex;align-items:center;justify-content:center;color:var(--muted)}
.photo-card{background:linear-gradient(180deg,rgba(16,32,22,0.9),rgba(8,18,12,0.7));border-radius:12px;overflow:hidden;box-shadow:0 10px 22px rgba(2,8,4,0.6);display:flex;flex-direction:column}
.photo-img{width:100%;height:210px;object-fit:cover;display:block}
.photo-caption{padding:0.65rem 0.8rem;font-size:0.85rem;color:var(--muted);opacity:0;transition:opacity 0.2s ease}
.photo-card:hover .photo-caption{opacity:1}
.placeholder{border:1px dashed rgba(255,255,255,0.08)}
.dashboards .card{position:relative;overflow:hidden;min-height:340px;display:flex;flex-direction:column}
.dashboard-placeholder{display:grid;gap:0.6rem;padding:0.8rem;border-radius:10px;background:linear-gradient(180deg,rgba(127,210,139,0.08),rgba(8,18,12,0.4));border:1px solid rgba(127,210,139,0.18);flex-grow:1}
.dashboard-placeholder .dash-row{height:12px;border-radius:20px;background:linear-gradient(90deg,rgba(127,210,139,0.2),rgba(127,210,139,0.05))}
.movement-dashboard-frame{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;border:1px solid rgba(127,210,139,0.18);background:rgba(7,20,13,0.55)}
.movement-dashboard-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.reviews-panel{margin-top:1.5rem}
.reviews-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0.9rem}
.review-card{display:flex;flex-direction:column;gap:0.3rem}
.review-card{
  opacity:1;
  transform:translateY(0);
  transition:
    opacity .22s ease,
    transform .22s ease,
    display .22s ease allow-discrete,
    content-visibility .22s ease allow-discrete;
  transition-behavior:allow-discrete;
}
.review-card.is-hidden{
  opacity:0;
  transform:translateY(.4rem);
  content-visibility:hidden;
  display:none;
}
@starting-style{
  .review-card{
    opacity:0;
    transform:translateY(.4rem);
  }
}
.review-card h4,.review-card p{margin:0}
.review-media{display:block}
.review-photo-wrap{width:100%;height:110px;border-radius:10px;overflow:hidden;border:1px solid rgba(127,210,139,0.2);background:rgba(6,16,11,0.35)}
.review-photo-img{width:100%;height:100%;object-fit:cover;object-position:50% var(--review-focus-y,50%);display:block}
.review-photo-carousel{position:relative;width:100%;height:100%}
.review-photo-track{position:relative;width:100%;height:100%}
.review-photo-slide{position:absolute;inset:0;opacity:0;transition:opacity .2s ease}
.review-photo-slide.is-active{opacity:1;z-index:1}
.review-photo-dots{position:absolute;left:50%;bottom:0.35rem;transform:translateX(-50%);display:inline-flex;gap:0.3rem;padding:0.18rem 0.35rem;border-radius:999px;background:rgba(4,12,8,0.46);backdrop-filter:blur(2px);z-index:2}
.review-photo-dot{width:0.45rem;height:0.45rem;border-radius:999px;border:0;padding:0;cursor:pointer;background:rgba(230,246,237,0.45)}
.review-photo-dot[aria-pressed="true"]{background:var(--accent)}
.review-photo-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(127,210,139,0.12),rgba(60,143,89,0.08));color:var(--muted)}
.review-photo-icon{font-size:1.35rem;line-height:1}
.review-photo-label{margin-top:0.35rem;font-size:0.78rem}
.review-stars{color:var(--accent);font-size:0.86rem;letter-spacing:0.08em}
.review-meta{font-size:0.82rem;color:var(--muted)}
.review-text{font-size:0.92rem;line-height:1.35}
.review-text.is-collapsed{display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.review-expand{margin-top:0.15rem;align-self:flex-start;background:transparent;border:1px solid rgba(127,210,139,0.3);color:var(--muted);border-radius:999px;padding:0.2rem 0.55rem;font-size:0.74rem;cursor:pointer}
.reviews-actions{margin-top:0.9rem}
.reviews-toggle{padding:.45rem .85rem;font-size:.85rem;border:1px solid rgba(127,210,139,0.35);cursor:pointer}
.site-foot{padding:2rem 0;color:var(--muted);text-align:center}
.site-foot .wrap{display:flex;flex-direction:column;gap:0.8rem;align-items:center}
.site-foot small{display:block;margin-bottom:0.3rem}
.embed-panel{margin-top:1.5rem}
.section-header{display:flex;align-items:center;gap:1.2rem;margin-bottom:1.5rem}
.section-logo{width:80px;height:80px;flex-shrink:0;object-fit:contain}
.pillow-mini-header{display:flex;align-items:center;gap:0.8rem;margin:0.2rem 0 0.9rem}
.pillow-mini-logo{width:56px;height:56px;object-fit:contain;flex-shrink:0}
.pillow-preview-frame{position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;border:1px solid rgba(127,210,139,0.25);background:rgba(7,20,13,0.55)}
.pillow-preview-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.iframe-blocker{position:absolute;inset:0;z-index:10}
.pillow-preview-badge{position:absolute;right:0.55rem;bottom:0.55rem;padding:0.2rem 0.5rem;border-radius:999px;font-size:0.72rem;color:#dff7e7;background:rgba(4,12,8,0.62);border:1px solid rgba(127,210,139,0.35);z-index:20}
@media (min-width:901px){
  .iframe-blocker{display:none}
}
.pillow-two-col{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
.pillow-content{margin-top:0}
.pillow-gallery{margin-top:0}
.lightroom-embed{position:relative;padding-bottom:50%;height:0;overflow:hidden;border-radius:16px;border:1px solid rgba(127,210,139,0.2);background:rgba(7,20,13,0.55)}
.lightroom-iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.embed-frame{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;border:1px solid rgba(127,210,139,0.2);background:rgba(7,20,13,0.55)}
.embed-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.embed-fallback{margin-top:0.6rem}

.cv-hero{padding-top:120px;padding-bottom:50px}
.cv-subtitle{color:var(--muted);max-width:74ch;line-height:1.6}
.cv-meta{display:flex;gap:0.6rem;flex-wrap:wrap;margin-top:1rem}
.cv-chip{display:inline-flex;align-items:center;padding:0.28rem 0.62rem;border-radius:999px;font-size:0.8rem;background:rgba(127,210,139,0.12);border:1px solid rgba(127,210,139,0.3);color:#dff5e3}
.cv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.cv-card{background:linear-gradient(180deg,var(--card),rgba(15,23,36,0.45));padding:1.1rem;border-radius:12px;border:1px solid rgba(127,210,139,0.16)}
.cv-card h3{margin-top:0.1rem;margin-bottom:0.55rem}
.cv-list{margin:0;padding-left:1.05rem;color:var(--muted)}
.cv-list li{margin:0.35rem 0;line-height:1.5}
.cv-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.cv-target{padding:1rem;border-radius:12px;background:rgba(7,20,13,0.55);border:1px solid rgba(127,210,139,0.22)}
.cv-target h4{margin:0 0 0.4rem}
.cv-target p{margin:0;color:var(--muted);line-height:1.5}
.cv-route{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0.9rem}
.cv-route-step{padding:0.9rem;border-left:3px solid rgba(127,210,139,0.45);background:rgba(127,210,139,0.06);border-radius:10px}
.cv-route-step h4{margin:0 0 0.35rem}
.cv-route-step p{margin:0;color:var(--muted)}
#pattern{position:fixed;inset:0;background-image:radial-gradient(circle at 10% 10%,rgba(127,210,139,0.08) 0 2px,transparent 3px), radial-gradient(circle at 80% 80%,rgba(127,210,139,0.06) 0 2px,transparent 3px);opacity:0.9;pointer-events:none;z-index:0}
#bg-parallax{position:fixed;inset:0;pointer-events:none;z-index:-1;overflow:hidden;background-size:cover;background-position:center;background-attachment:fixed}
.bg-layer{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0.18;filter:saturate(1.2) contrast(1.1) blur(0.5px)}
.bg-layer::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,18,12,0.85),rgba(6,18,12,0.55),rgba(6,18,12,0.9))}

/* Simplified single background with parallax */
.section{position:relative;overflow:hidden}

/* Background toggle button */
#bg-toggle-btn, #font-toggle-btn {position:fixed;right:1rem;z-index:100;width:2.35rem;height:2.35rem;display:flex;align-items:center;justify-content:center;padding:0;background:rgba(127,210,139,0.15);border:1px solid rgba(127,210,139,0.35);color:#7fd28b;border-radius:999px;cursor:pointer;transition:all 0.2s ease}
#bg-toggle-btn {top:1rem;}
#font-toggle-btn {top:4rem;}
#bg-toggle-btn:hover, #font-toggle-btn:hover {background:rgba(127,210,139,0.25);border-color:rgba(127,210,139,0.5)}
#bg-toggle-btn svg, #font-toggle-btn svg {width:1.15rem;height:1.15rem}

.js-enabled .revealable{
  opacity:0;
  transform:translateY(.5rem);
  transition:opacity .35s ease,transform .35s ease;
}
.js-enabled .revealable.is-revealed{
  opacity:1;
  transform:translateY(0);
}

/* Parallax hero background */
@media (prefers-reduced-motion: no-preference){
  .hero::before{content:"";position:absolute;left:0;right:0;top:0;height:50vh;transform:translateZ(0);background:linear-gradient(180deg,rgba(127,183,126,0.04),transparent);pointer-events:none;z-index:0}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .focus-track,.card,.post,.review-card,.btn,.js-enabled .revealable,.review-photo-slide{transition:none}
}

/* responsive */
@media (max-width:600px){.hero h1{font-size:1.4rem}.site-header .wrap{padding:0.6rem 1rem}.wrap{padding:1rem}.section-header{flex-direction:column;text-align:center;gap:0.8rem}.section-logo{width:64px;height:64px}}
@media (max-width:600px){.hero-profile{width:112px;height:112px;margin-bottom:0.8rem}}
@media (max-width:600px){.hero-points{padding-left:0.9rem}.hero-cta-group .btn{width:100%;text-align:center}}

@media (max-width:900px){
  .gallery-carousel .photo-card{height:clamp(220px,50vh,520px);max-width:94vw}
  .reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sticky-section,.sticky-embed{position:static}
  .pillow-two-col{grid-template-columns:1fr;gap:1.5rem}
}

@media (max-width:600px){
  .gallery-carousel .photo-card{height:clamp(200px,44vh,420px);max-width:96vw}
  .reviews-grid{grid-template-columns:1fr}
}
