/* ROMARC project gallery: native horizontal browsing, progressively pinned on desktop. */
body.romarc-page #selected-projects.r4-projects{padding:0}
body.romarc-page .r4-projects{--r4-gutter:clamp(24px,6vw,112px);--r4-gap:32px;--r4-progress:0;position:relative;margin:0;background:#151815;color:#fdfbf8;isolation:isolate;scroll-margin-top:84px;overflow:visible}
body.romarc-page .r4-stage{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;padding:42px 0 16px;background:#151815}
body.romarc-page .r4-stage::after{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(180deg,#151815de 0%,#15181570 42%,#151815ed 100%)}
body.romarc-page .r4-backdrop{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;opacity:.14;filter:none;transform:none;transition:opacity .24s ease;pointer-events:none}
body.romarc-page .r4-projects.is-backdrop-changing .r4-backdrop{opacity:0}
body.romarc-page .r4-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:36px;position:relative;margin:0;padding:0 var(--r4-gutter) 28px;flex:0 0 auto}
body.romarc-page .r4-eyebrow{color:#d1b38f;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.2em;margin:0 0 13px;text-transform:uppercase}
body.romarc-page .r4-heading h2{font-size:clamp(31px,3vw,48px);line-height:1.13;letter-spacing:-.045em;font-weight:500;margin:0;color:#fdfbf8;max-width:none;text-wrap:balance}
body.romarc-page .r4-heading h2 em{font-family:'Romarc Display',Georgia,serif;font-size:1.18em;line-height:1;font-weight:400;letter-spacing:-.025em;color:#dec5a5}
body.romarc-page .r4-heading h2 .reveal-line{font-family:inherit;font-size:1em;font-style:normal;font-weight:inherit;letter-spacing:inherit;display:block;line-height:inherit}
body.romarc-page .r4-all{flex-shrink:0;display:inline-flex;align-items:center;gap:20px;color:#fdfbf8;border-bottom:1px solid #ba997566;font-size:12px;font-weight:500;line-height:1.5;min-height:40px;padding-bottom:7px;text-decoration:none;transition:color .22s,border-color .22s}
body.romarc-page .r4-all svg{width:22px;height:22px;transition:transform .3s cubic-bezier(.2,.7,.3,1)}
body.romarc-page .r4-all:hover{color:#dec5a5;border-color:#dec5a5}
body.romarc-page .r4-all:hover svg{transform:translateX(4px)}
body.romarc-page .r4-viewport{position:relative;z-index:1;margin-left:var(--r4-gutter);width:calc(100% - var(--r4-gutter));min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ba9975 #ffffff14;-webkit-overflow-scrolling:touch;outline-offset:-3px}
body.romarc-page .r4-track{display:flex;align-items:stretch;gap:var(--r4-gap);width:max-content;max-width:none;padding:0 var(--r4-gutter) 12px 0;margin:0;transform:none}
body.romarc-page .r4-slide{flex:0 0 clamp(600px,72vw,1100px);width:clamp(600px,72vw,1100px);max-width:none;margin:0;scroll-snap-align:start;scroll-snap-stop:normal;position:relative;min-width:0}
body.romarc-page .r4-project-link{display:block;color:#fdfbf8;text-decoration:none;outline-offset:-3px}
body.romarc-page .r4-image-frame{height:clamp(280px,46svh,510px);position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#313630,#20241f 60%,#1b1e1a);border:1px solid #ffffff18}
body.romarc-page .r4-image-frame>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;filter:none;transform:none;transition:none;image-rendering:auto}
body.romarc-page .r4-slide-portrait .r4-image-frame>img{object-fit:contain}
body.romarc-page .r4-image-index{position:absolute;top:17px;left:20px;display:inline-block;color:#fff;background:#151815b8;padding:7px 10px;font-size:10px;line-height:1;letter-spacing:.15em;font-weight:500;font-variant-numeric:tabular-nums}
body.romarc-page .r4-render-label{position:absolute;right:18px;top:17px;color:#fff;background:#151815c9;font-size:10px;line-height:1.3;letter-spacing:.02em;padding:7px 10px}
body.romarc-page .r4-open{display:flex;align-items:center;gap:18px;position:absolute;right:18px;bottom:18px;padding:11px 12px 11px 18px;color:#171a16;background:#e3ccb0;opacity:0;transform:translateY(8px);font-size:11px;line-height:1.4;font-weight:600;transition:opacity .24s,transform .3s cubic-bezier(.2,.7,.3,1);pointer-events:none}
body.romarc-page .r4-open svg{width:22px;height:22px}
body.romarc-page .r4-project-link:hover .r4-open,body.romarc-page .r4-project-link:focus-visible .r4-open{opacity:1;transform:translateY(0)}
body.romarc-page .r4-caption{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:40px;padding:23px 0 8px;align-items:start}
body.romarc-page .r4-project-name{min-width:0}
body.romarc-page .r4-project-kicker{font-size:10px;line-height:1.6;letter-spacing:.08em;color:#ccbca8;margin:0 0 10px;text-transform:uppercase;max-width:100%}
body.romarc-page .r4-caption h3{font-size:clamp(25px,2.35vw,38px);font-weight:500;letter-spacing:-.045em;line-height:1.13;color:#fdfbf8;margin:0;text-wrap:balance}
body.romarc-page .r4-description{font-size:clamp(12px,.95vw,14px);line-height:1.85;letter-spacing:0;font-weight:400;margin:0;padding-top:1px;color:#e0e0d9;max-width:420px;justify-self:end}
body.romarc-page .r4-controls{display:flex;align-items:center;gap:27px;padding:15px var(--r4-gutter) 0;margin:8px 0 0;min-height:75px;flex:0 0 auto}
body.romarc-page .r4-hint{display:flex;align-items:center;gap:12px;font-size:10px;line-height:1.5;letter-spacing:.03em;color:#c5c8bc;margin:0;flex:0 0 auto}
body.romarc-page .r4-wheel{width:15px;height:22px;flex:0 0 15px;display:inline-block;border:1px solid #ba99758c;border-radius:8px;position:relative}
body.romarc-page .r4-wheel::before{content:'';position:absolute;top:4px;left:6px;width:1px;height:5px;background:#dec5a5}
body.romarc-page .r4-counter{font-size:12px;line-height:1.4;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.16em;white-space:nowrap;color:#fdfbf8;margin-left:auto}
body.romarc-page .r4-progress-track{height:2px;background:#fdfbf833;flex:1 1 240px;max-width:410px;overflow:hidden}
body.romarc-page .r4-progress-fill{display:block;width:100%;height:100%;background:#cfad81;transform:scaleX(var(--r4-progress));transform-origin:left center}
body.romarc-page .r4-arrows{display:flex;gap:12px;flex:0 0 auto}
body.romarc-page .r4-arrow{width:50px;height:50px;min-width:50px;min-height:50px;display:grid;place-items:center;border:1px solid #c5a279;border-radius:50%;color:#171a16;background:#c5a279;padding:0;cursor:pointer;transition:background .22s,color .22s,border-color .22s,transform .24s;box-shadow:none}
body.romarc-page .r4-prev{background:transparent;color:#d7bc9d;border-color:#ba997577}
body.romarc-page .r4-prev svg{transform:rotate(180deg)}
body.romarc-page .r4-arrow:hover{background:#dfc4a3;border-color:#dfc4a3;color:#171a16;transform:translateY(-2px)}
body.romarc-page .r4-arrow:disabled{opacity:.38;cursor:default;transform:none}
body.romarc-page .r4-arrow:focus-visible,body.romarc-page .r4-all:focus-visible,body.romarc-page .r4-project-link:focus-visible,body.romarc-page .r4-viewport:focus-visible{outline:2px solid #edc994;outline-offset:3px}
body.romarc-page .r4-project-link:focus-visible,body.romarc-page .r4-viewport:focus-visible{outline-offset:-3px}
body.romarc-page .r4-skip{position:absolute;z-index:5;left:var(--r4-gutter);top:8px;padding:12px 18px;background:#fdfbf8;color:#171a16;font-size:12px;transform:translateY(-180%);text-decoration:none}
body.romarc-page .r4-skip:focus{transform:translateY(0);outline:2px solid #ba9975}
body.romarc-page .r4-projects.is-pinned .r4-stage{position:sticky;top:var(--r4-header-gap,84px);height:calc(100svh - var(--r4-header-gap,84px));max-height:900px;min-height:620px;padding-top:32px;padding-bottom:18px}
body.romarc-page .r4-projects.is-pinned .r4-heading{padding-bottom:24px}
body.romarc-page .r4-projects.is-pinned .r4-viewport{overflow:hidden;scroll-snap-type:none;scroll-behavior:auto;flex:1 1 auto;min-height:0}
body.romarc-page .r4-projects.is-pinned .r4-track{height:100%;padding-bottom:0;will-change:transform}
body.romarc-page .r4-projects.is-pinned .r4-project-link{height:100%;display:flex;flex-direction:column}
body.romarc-page .r4-projects.is-pinned .r4-image-frame{height:auto;min-height:230px;flex:1 1 auto;max-height:530px}
body.romarc-page .r4-projects.is-pinned .r4-caption{flex:0 0 auto;min-height:112px;padding-top:21px}
body.romarc-page .r4-projects.is-pinned .r4-controls{margin-top:5px;padding-top:10px;min-height:69px}
@media(min-width:1000px) and (max-height:800px){body.romarc-page .r4-projects.is-pinned .r4-stage{padding-top:22px;padding-bottom:12px}body.romarc-page .r4-projects.is-pinned .r4-heading{padding-bottom:19px}body.romarc-page .r4-heading h2{font-size:35px}body.romarc-page .r4-projects.is-pinned .r4-caption{min-height:105px;padding-top:17px}body.romarc-page .r4-project-kicker{margin-bottom:7px}body.romarc-page .r4-caption h3{font-size:29px}body.romarc-page .r4-description{font-size:12px;line-height:1.7}}
@media(max-width:999px){body.romarc-page .r4-projects{--r4-gutter:32px;--r4-gap:24px}body.romarc-page .r4-stage{padding:42px 0 25px}body.romarc-page .r4-heading{align-items:flex-end;gap:20px}body.romarc-page .r4-heading h2{font-size:36px;max-width:510px}body.romarc-page .r4-heading h2 em{display:block;margin-top:3px}body.romarc-page .r4-slide{width:calc(100vw - 104px);flex-basis:calc(100vw - 104px)}body.romarc-page .r4-image-frame{height:390px}body.romarc-page .r4-caption{gap:24px}body.romarc-page .r4-caption h3{font-size:30px}body.romarc-page .r4-description{font-size:12px}body.romarc-page .r4-hint{display:none}body.romarc-page .r4-counter{margin-left:0}body.romarc-page .r4-progress-track{max-width:none}body.romarc-page .r4-open{opacity:1;transform:none}}
@media(max-width:699px){body.romarc-page .r4-projects{--r4-gutter:24px;--r4-gap:16px;scroll-margin-top:78px}body.romarc-page .r4-stage{padding:36px 0 22px}body.romarc-page .r4-heading{display:block;padding-bottom:24px}body.romarc-page .r4-eyebrow{font-size:9px;letter-spacing:.17em;margin-bottom:13px}body.romarc-page .r4-heading h2{font-size:35px;max-width:100%;line-height:1.08}body.romarc-page .r4-heading h2 em{font-size:1.2em}body.romarc-page .r4-all{font-size:11px;min-height:34px;margin-top:21px;padding-bottom:5px;gap:23px}body.romarc-page .r4-slide{width:calc(100vw - 48px);flex-basis:calc(100vw - 48px)}body.romarc-page .r4-image-frame{height:250px}body.romarc-page .r4-image-index{top:12px;left:12px;font-size:9px;padding:6px 8px}body.romarc-page .r4-render-label{top:12px;right:12px;font-size:8px;padding:6px 7px}body.romarc-page .r4-open{right:12px;bottom:12px;font-size:10px;padding:8px 9px 8px 12px;gap:10px}body.romarc-page .r4-open svg{width:19px;height:19px}body.romarc-page .r4-caption{display:block;padding-top:19px;padding-bottom:7px}body.romarc-page .r4-project-kicker{font-size:9px;line-height:1.6;letter-spacing:.05em;min-height:29px;margin-bottom:6px}body.romarc-page .r4-caption h3{font-size:29px;line-height:1.15;max-width:100%;text-wrap:balance}body.romarc-page .r4-description{font-size:12px;line-height:1.75;margin-top:12px;max-width:100%;padding:0}body.romarc-page .r4-controls{gap:17px;margin-top:12px;padding-top:7px;min-height:61px}body.romarc-page .r4-counter{font-size:10px;letter-spacing:.11em}body.romarc-page .r4-arrows{gap:8px}body.romarc-page .r4-arrow{width:42px;height:42px;min-width:42px;min-height:42px}body.romarc-page .r4-arrow svg{width:20px;height:20px}body.romarc-page .r4-backdrop{opacity:.1}body.romarc-page .r4-projects.is-pinned{height:auto!important}body.romarc-page .r4-projects.is-pinned .r4-stage{position:relative;top:auto;height:auto;min-height:0;max-height:none}}
@media(prefers-reduced-motion:reduce){body.romarc-page .r4-viewport{scroll-behavior:auto}body.romarc-page .r4-projects *,body.romarc-page .r4-projects *::before,body.romarc-page .r4-projects *::after{animation:none!important;transition:none!important}body.romarc-page .r4-open{opacity:1;transform:none}body.romarc-page .r4-arrow:hover{transform:none}}
body.romarc-page .r4-projects:not(.is-enhanced) .r4-arrows,body.romarc-page .r4-projects:not(.is-enhanced) .r4-counter,body.romarc-page .r4-projects:not(.is-enhanced) .r4-progress-track{display:none}

/* Keep the native project controls clear of the floating contact button. */
@media(max-width:699px){body.romarc-page .r4-controls{padding-right:96px}}
