.otto-main-nav{display:flex;align-items:center;gap:clamp(3px,1vw,12px);pointer-events:auto;font:500 clamp(12px,1.35vw,15px)/1 system-ui,sans-serif;white-space:nowrap}
.otto-main-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 clamp(8px,1.5vw,18px);border-radius:99px;background:#f5f7fbea;color:#15233b;text-decoration:none;transition:background .2s}
.otto-main-nav a[aria-current]{background:#14223a;color:#fff}
.otto-main-nav a:hover{background:#dbe7fb;color:#14223a}
.otto-main-nav a:focus-visible,.otto-portfolio-page :is(a,button):focus-visible{outline:2px solid #4079dd;outline-offset:4px}
#header-container>.otto-main-nav{order:5;margin-left:auto}
.otto-portfolio-page{margin:0;background:#eeeff8;color:#11120f;font:400 16px/1.5 Arial,Helvetica,sans-serif}
.otto-portfolio-page *, .otto-portfolio-page *::before,.otto-portfolio-page *::after{box-sizing:border-box}
.otto-portfolio-header{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:72px;padding:12px 5%;background:#eeeff8;border-bottom:1px solid #18263b13}
.otto-portfolio-header>a{display:flex;align-items:center;min-height:44px}
.otto-portfolio-header img{display:block;width:clamp(144px,22vw,244px);height:auto}
.otto-projects-list,.otto-case{width:90%;max-width:1440px;margin:auto}
.otto-projects-list{padding:clamp(62px,12vw,155px) 0 clamp(75px,10vw,145px)}
.otto-projects-heading{display:flex;align-items:stretch;gap:clamp(14px,5vw,75px)}
.otto-projects-heading h1{margin:0;font-size:clamp(38px,12.5vw,218px);font-weight:500;line-height:.94;letter-spacing:-.055em}
.otto-projects-marker{display:flex;flex-direction:column;justify-content:space-between;padding:.1em 0;font-size:clamp(16px,4vw,54px);line-height:1}
.otto-projects-marker span:last-child{font-size:1.25em}
.otto-projects-summary{margin:clamp(22px,3vw,42px) 0 0;color:#46566a}
.otto-projects-tag{width:max-content;margin:32px 0 0;padding:11px 19px;border-radius:99px;background:#182437;color:#fff;font-size:14px}
.otto-projects-tag span{padding-left:9px;font-size:10px;color:#c4d0e2}
.otto-projects-cards,.otto-case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.otto-projects-cards{margin-top:clamp(45px,8vw,110px)}
.otto-web-card{display:block;color:inherit;text-decoration:none}
.otto-web-cover{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:18px;background:#dce3ec}
.otto-web-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.otto-web-card:is(:hover,:focus-visible) img{transform:scale(1.045)}
.otto-web-cover span{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;background:#182437;font-size:22px}
.otto-web-card p,.otto-case-label{margin:16px 0 4px;color:#46566a;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.otto-web-card h2{margin:0;font-weight:500;font-size:clamp(28px,3.3vw,52px);letter-spacing:-.045em;line-height:1.1}
.otto-case{padding:clamp(24px,5vw,65px) 0 85px}
.otto-case-back{color:#334d72;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.otto-case-back:hover{text-decoration:underline;text-underline-offset:4px}
.otto-case-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:32px 0}
.otto-case-header h1{margin:5px 0 0;font-size:clamp(54px,10.8vw,155px);font-weight:500;letter-spacing:-.07em;line-height:.95}
.otto-case-button,.otto-case-motion button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:10px;padding:9px 18px;border:1px solid #14223a;border-radius:99px;background:#14223a;color:#fff;font:inherit;font-size:14px;text-decoration:none;white-space:nowrap;cursor:pointer}
.otto-case-motion button[hidden]{display:none}
.otto-case figure{margin:0;min-width:0}
.otto-case figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:clamp(12px,2vw,24px);background:#dce3ec}
.otto-case-story{display:grid;grid-template-columns:1fr 1.15fr;align-items:start;gap:clamp(20px,6vw,88px);padding:clamp(46px,8vw,110px) 0 36px}
.otto-case-story h2{margin:0;font-size:clamp(31px,5.5vw,72px);font-weight:500;letter-spacing:-.055em;line-height:1.03}
.otto-case-story p{margin:0;max-width:58ch;font-size:clamp(16px,1.65vw,22px);line-height:1.5;color:#354865}
.otto-case-credits{display:flex;flex-wrap:wrap;gap:14px 40px;margin:30px 0 0;padding-top:20px;border-top:1px solid #172c4733}
.otto-case-credits dt{font-size:12px;color:#46566a}
.otto-case-credits dd{margin:4px 0 0}
.otto-case figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding-top:8px;color:#46566a;font-size:14px}
.otto-case-footer{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-top:clamp(42px,8vw,95px);padding-top:20px;border-top:1px solid #172c4733}
@media(max-width:680px){
  .otto-portfolio-header{padding-inline:4%;min-height:64px}
  .otto-main-nav a{padding-inline:8px}
  .otto-projects-cards,.otto-case-story,.otto-case-gallery{grid-template-columns:1fr}
  .otto-case-header{align-items:flex-start;flex-direction:column}
}
@media(max-width:410px){
  html #header #header-logo>.ottoman-header-name{width:clamp(104px,37vw,150px)}
  #header-container>.otto-main-nav{gap:3px}
}
@media(prefers-reduced-motion:reduce){
  .otto-web-cover img,.otto-main-nav a{transition:none}
  .otto-web-card:is(:hover,:focus-visible) img{transform:none}
}
.otto-case-build p+p{margin-top:16px}

/* The reference menu opens as a curved curtain over the current page. */
.otto-main-nav .otto-menu-toggle,.otto-menu-toggle{
  display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;
  border:1px solid #fff;border-radius:9px;background:linear-gradient(145deg,#fff,#e2e5eb);
  color:#161b22;box-shadow:inset 0 0 0 1px #8993a4a6,0 3px 8px #07142224;cursor:pointer
}
.otto-menu-toggle span,.otto-menu-toggle span::before,.otto-menu-toggle span::after{width:18px;height:1px;background:currentColor}
.otto-menu-toggle span{position:relative}
.otto-menu-toggle span::before,.otto-menu-toggle span::after{content:"";position:absolute;left:0}
.otto-menu-toggle span::before{top:-5px}
.otto-menu-toggle span::after{top:5px}
.otto-menu-close span{background:transparent}
.otto-menu-close span::before{top:0;transform:rotate(45deg)}
.otto-menu-close span::after{top:0;transform:rotate(-45deg)}
html.otto-menu-open{overflow:hidden}
.otto-site-menu{max-width:none;max-height:none;width:100%;height:100%;inset:0;margin:0;padding:0;border:0;background:transparent;color:#f2f5fb}
.otto-site-menu::backdrop{background:transparent}
.otto-menu-surface{
  position:absolute;inset:0;isolation:isolate;overflow:auto;background:#19293b;
  clip-path:ellipse(120% 0% at 50% 0%);transition:clip-path .75s cubic-bezier(.65,.05,0,1);
}
.otto-menu-surface::before{
  content:"";position:absolute;inset:0;z-index:-1;opacity:.12;pointer-events:none;
  background:url("/assets/ottomantech/projects/menu-contours.svg") repeat-x center / auto 170%;
}
.otto-site-menu.is-open .otto-menu-surface{clip-path:ellipse(120% 100% at 50% 20%)}
.otto-menu-header{
  position:relative;display:flex;justify-content:space-between;align-items:center;
  padding:max(16px,env(safe-area-inset-top)) max(5vw,env(safe-area-inset-right)) 0 max(5vw,env(safe-area-inset-left));
}
.otto-menu-brand img{display:block;width:clamp(120px,22vw,244px);height:auto;filter:brightness(0) invert(1)}
.otto-menu-links{display:grid;justify-items:center;gap:4px;margin:clamp(30px,9svh,95px) auto 80px;padding:0 5vw;text-align:center}
.otto-menu-links a{display:block;overflow:hidden;max-width:100%;color:inherit;text-decoration:none;text-transform:uppercase;font:600 clamp(36px,6vw,92px)/1.12 "Otto Portfolio",Arial,sans-serif;letter-spacing:-.035em}
.otto-menu-links a span{display:block;transform:translateY(108%);transition:transform .65s cubic-bezier(.19,1,.22,1),color .22s}
.otto-site-menu.is-open .otto-menu-links a span{transform:translateY(0);transition-delay:.20s}
.otto-site-menu.is-open .otto-menu-links a:nth-child(2) span{transition-delay:.26s}
.otto-menu-links a[aria-current],.otto-menu-links a:hover{color:#a7bdd8}
.otto-menu-toggle:focus-visible,.otto-site-menu a:focus-visible{outline:2px solid #85b3ff;outline-offset:5px}
.otto-site-menu.is-leaving{background:#0b1019;transition:background .35s}
.otto-site-menu.is-leaving .otto-menu-surface{opacity:0;transition:opacity .35s ease}
.otto-project-curtain{position:fixed;inset:0;z-index:2147483000;background:#0b1019;opacity:0;pointer-events:none;transition:opacity .58s cubic-bezier(.22,1,.36,1)}
.otto-project-curtain.is-covered{opacity:1}
.otto-project-curtain.is-leaving{pointer-events:auto;transition-duration:.35s}

@font-face{font-family:"Otto Portfolio";src:url("/assets/fonts/Aeonik-Regular.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Otto Portfolio";src:url("/assets/fonts/Aeonik-Medium.woff2") format("woff2");font-weight:500 700;font-display:swap}
.otto-portfolio-page{font-family:"Otto Portfolio",Arial,sans-serif}
.otto-projects-heading h1{font-weight:400}
.otto-web-card h2{transition:color .24s,transform .4s cubic-bezier(.19,1,.22,1)}
.otto-web-card:hover h2{color:#405e88;transform:translateX(8px)}
.otto-case-page{background:#182534;color:#f8fafc;--case-header-height:73px}
.otto-case-page .otto-portfolio-header{background:#182534;border-color:#e5edfa20}
.otto-case-page .otto-portfolio-header>a img{filter:brightness(0) invert(1)}
.otto-case-page :is(.otto-case-back,.otto-case-label,.otto-case-story p,.otto-case-credits dt,.otto-case figcaption){color:#cbd8e8}
.otto-case-page :is(.otto-case-credits,.otto-case-footer){border-color:#b9d0ec3d}
.otto-case-page :is(.otto-case-button,.otto-case-motion button){border-color:#91a7c3;background:#263b55}
.otto-case-page :is(.otto-case-button,.otto-case-motion button):hover{background:#36547a}
.otto-case-controls[hidden]{display:none}
.otto-case-journey.is-horizontal{height:calc(100svh - var(--case-header-height) + var(--journey-distance,0px))}
.otto-case-journey.is-horizontal .otto-case-pin{
  position:sticky;top:var(--case-header-height);height:calc(100svh - var(--case-header-height));height:calc(100dvh - var(--case-header-height));
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center;overflow:clip;
}
.otto-case-journey.is-horizontal{height:calc(100dvh - var(--case-header-height) + var(--journey-distance,0px))}
.otto-case-journey.is-horizontal .otto-case-track{display:flex;align-items:center;gap:clamp(28px,6vw,96px);width:max-content;max-width:none;will-change:transform}
.otto-case-journey.is-horizontal .otto-case-panel{flex:none;width:min(72vw,1050px);margin:0}
.otto-case-journey.is-horizontal .otto-case-panel.otto-case-story{
  display:flex;flex-direction:column;justify-content:center;gap:22px;width:min(45vw,640px);padding:10px 0 12px 28px;border-left:1px solid #a9bee35c
}
.otto-case-journey.is-horizontal .otto-case-panel .otto-case-story{padding:0 0 18px;gap:20px}
.otto-case-journey.is-horizontal .otto-case-stage .otto-case-story h2{font-size:clamp(24px,3.5vw,48px)}
.otto-case-journey.is-horizontal .otto-case-stage .otto-case-story p{font-size:clamp(14px,1.4vw,18px)}
.otto-case-journey.is-horizontal figure img{max-height:calc(100dvh - 255px);object-fit:contain;background:#0f1c2b}
.otto-case-controls{display:flex;align-items:center;gap:12px;padding:10px 1px 15px}
.otto-case-controls progress{flex:1;height:2px;accent-color:#9bc5ff}
.otto-case-controls button{width:44px;height:44px;border-radius:50%;border:1px solid #b1c6e273;background:#23364d;color:#fff;font-size:20px;cursor:pointer}
.otto-case-controls button:disabled{opacity:.45;cursor:default}
@media(max-width:759px){
  .otto-case-page{--case-header-height:69px}
  .otto-case-journey.is-horizontal .otto-case-panel{width:88vw}
  .otto-case-journey.is-horizontal .otto-case-panel.otto-case-story{width:85vw;padding-left:14px}
  .otto-case-journey.is-horizontal .otto-case-gallery{gap:12px}
  .otto-case-journey.is-horizontal .otto-case-gallery img{max-height:calc((100dvh - 385px)/2)}
}
@media(max-width:420px){
  .otto-portfolio-header img{width:clamp(105px,34vw,142px)}
  .otto-main-nav a{padding-inline:6px}
}
@media(prefers-reduced-motion:reduce){
  .otto-menu-surface,.otto-menu-links a span,.otto-project-curtain,.otto-web-card h2{transition:none}
}
@keyframes otto-project-reveal{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
  .otto-projects-heading,.otto-case-header{animation:otto-project-reveal .72s cubic-bezier(.22,1,.36,1) both}
  .otto-projects-cards,.otto-case-cover{animation:otto-project-reveal .8s .11s cubic-bezier(.22,1,.36,1) both}
}
.otto-case-controls progress{width:0;min-width:0}
.otto-case-controls button{flex:0 0 44px}
.otto-case-journey.is-horizontal .otto-case-stage{
  max-height:calc(100dvh - var(--case-header-height) - 78px);
  display:flex;flex-direction:column;justify-content:center
}
.otto-case-journey.is-horizontal .otto-case-stage figure img{max-height:calc(100dvh - 350px)}
@media(max-width:759px){
  .otto-case-journey.is-horizontal .otto-case-gallery img{max-height:calc((100dvh - 410px)/2)}
}
