/* Original triptych assets keep their proportions; each portrait is cropped, never stretched. */
.team-photo .avatar{width:100%;height:100%;border-radius:0;background-image:url('/team-triptych.png');background-size:300% auto;background-position:var(--portrait-position) 26%;background-repeat:no-repeat;color:transparent;transform:none!important}
.team-photo .avatar:before,.team-photo .avatar:after{content:none;display:none}
.team-photo:after{pointer-events:none}
.portfolio-section{padding:96px 0 105px;background:#f0ede7}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.work-card{min-width:0;overflow:hidden}
.work-image{aspect-ratio:.92;background-image:url('/portfolio-triptych.png');background-size:300% auto;background-repeat:no-repeat;background-position:var(--work-position) 40%;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .65s}
.work-card:hover .work-image{transform:scale(1.035);filter:saturate(1.08)}
.work-one{--work-position:0%}.work-two{--work-position:50%}.work-three{--work-position:100%}
.work-caption{display:flex;justify-content:space-between;align-items:center;padding:13px 2px 0;gap:8px}
.work-caption span{font:500 17px var(--serif)}.work-caption small{font-size:8px;letter-spacing:1.2px;color:#817d74}
.master-book{margin-top:15px;padding:0;border:0;background:none;color:#556354;font-size:10px;font-weight:600;transition:color .2s,letter-spacing .2s}
.master-book:hover{color:#a77552;letter-spacing:.25px}.master-book span{margin-left:9px;color:#a77552}
.hero{position:relative;isolation:isolate}
.hero:before{content:"";position:absolute;z-index:-1;inset:0 0 0 43%;background:radial-gradient(ellipse at 60% 36%,#e8d8c5 0 13%,transparent 13.5%),radial-gradient(ellipse at 78% 68%,#d8c6b3 0 4%,transparent 4.5%),radial-gradient(ellipse at 14% 76%,#d9ded1 0 8%,transparent 8.5%);opacity:.76;pointer-events:none}
.hero-art{height:500px;justify-content:center}
.sun-disc{width:390px;height:390px;background:radial-gradient(circle at 38% 34%,#ead8c7,#d4c5ae);right:6%;top:8%;box-shadow:0 0 0 16px #e8dfd433,0 0 0 36px #e8dfd41b}
.hero-carousel{position:relative;z-index:1;width:min(365px,75%);height:430px;overflow:hidden;background:#d5c4b3;box-shadow:0 22px 55px #5b4d3a2b;transform:rotate(1.6deg);border-radius:180px 180px 4px 4px}
.hero-slide{position:absolute;inset:0;background-image:url('/hero-triptych.png');background-size:300% auto;background-repeat:no-repeat;background-position-y:34%;opacity:0;transform:scale(1.055);transition:opacity 1.35s ease,transform 5.4s cubic-bezier(.16,.46,.28,.99)}
.hero-slide.is-active{opacity:1;transform:scale(1)}
.hero-slide.slide-one{background-position-x:0%}.hero-slide.slide-two{background-position-x:50%}.hero-slide.slide-three{background-position-x:100%}
.hero-carousel:after{content:"";position:absolute;inset:45% 0 42px;background:linear-gradient(transparent,#1e211d70);pointer-events:none}
.frame-caption{z-index:2;height:60px;left:0;right:0;padding:0 18px;background:#f7f4efed;font-size:9px}
.frame-caption span:first-child{font-size:9px;letter-spacing:1px;color:#8a7969}
.frame-caption span:nth-child(2){font:italic 15px/1.18 var(--serif);color:#34342e}
.frame-caption span:last-child{color:#a77552;font-size:17px}
.hero-controls{position:absolute;z-index:3;left:50%;bottom:5px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:7px 10px;background:#f7f4efed;border:1px solid #ffffffaa;box-shadow:0 8px 24px #4a42331c;border-radius:30px}
.hero-controls button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#4e5d4e;font-size:14px;transition:background .2s,color .2s,transform .2s}
.hero-controls button:hover{background:#35483b;color:white;transform:scale(1.06)}
.hero-dots{display:flex;gap:6px}.hero-dots button{width:7px;height:7px;padding:0;background:#c9c4b9}.hero-dots button[aria-current="true"]{width:21px;border-radius:9px;background:#657464}
.floating-note{right:-3px;bottom:78px;border:1px solid #ffffffa8;animation:note-float 5s ease-in-out infinite}
.hero-vertical{right:0}
@keyframes note-float{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(-1deg) translateY(-6px)}}
.section,.portfolio-section,.team-section{scroll-margin-top:24px}
/* A quiet, staged entrance gives the first screen a premium feel without a blocking intro overlay. */
.topbar{animation:enter-soft .65s ease-out both}
.hero-copy>*{animation:enter-soft .72s cubic-bezier(.2,.7,.25,1) both}
.hero-copy>.eyebrow{animation-delay:.06s}.hero-copy>h1{animation-delay:.13s}.hero-copy>.hero-text{animation-delay:.2s}.hero-copy>.hero-actions{animation-delay:.27s}.hero-copy>.hero-note{animation-delay:.34s}
.hero-art{animation:enter-soft .9s cubic-bezier(.2,.7,.25,1) .12s both}
nav a{position:relative;transition:color .25s ease}
nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:1px;background:#a77552;transition:right .28s ease}
nav a:hover:after,nav a:focus-visible:after{right:0}
@keyframes enter-soft{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.hero-art{height:440px}.hero-carousel{height:375px;width:min(330px,70%)}.sun-disc{width:330px;height:330px}.hero-controls{bottom:3px}.floating-note{bottom:57px}}
@media(max-width:560px){.hero:before{inset:0 -10px 0 20%;opacity:.54}.hero-art{height:385px;margin-top:5px}.hero-carousel{width:264px;height:330px}.sun-disc{width:265px;height:265px;right:5%}.hero-controls{bottom:0;gap:8px}.floating-note{right:-4px;bottom:45px;padding:11px 13px}.hero-vertical{right:-5px;top:24px;font-size:7px}.portfolio-section{padding:72px 0 80px}.portfolio-grid{grid-template-columns:1fr 1fr;gap:14px 9px}.work-card:last-child{grid-column:1/-1}.work-card:last-child .work-image{aspect-ratio:1.5}.work-image{aspect-ratio:.9}.work-caption{display:block;padding-top:10px}.work-caption span{font-size:15px}.work-caption small{display:block;margin-top:4px;font-size:7px}.master-book{margin-top:11px}}
@media(max-width:560px){.topbar.menu-open{height:auto;min-height:70px;flex-wrap:wrap;align-items:center;padding:12px 20px}.topbar.menu-open nav.show{position:static;top:auto;left:auto;right:auto;z-index:auto;order:3;flex:0 0 100%;display:flex;padding:15px 2px 3px;background:transparent;border:0;gap:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.topbar,.hero-copy>*,.hero-art{animation:none}.hero-slide{transition:none}.floating-note{animation:none}.work-image,.master-book,nav a,nav a:after{transition:none}}
