@font-face{font-family:Bricolage Grotesque;src:url('/assets/fonts/bricolage-grotesque.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/poppins-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/poppins-semibold.woff2') format('woff2');font-weight:600;font-display:swap}
:root {
  --navy:#151c26;
  --light-navy:#202a39;
  --paper:#f8f5ee;
  --orange:#ff4526;
  --muted:#c4cbd4;
  --heading:"Bricolage Grotesque",system-ui,sans-serif;
  color:var(--paper);
  background:var(--navy);
  font:400 .9375rem/1.65 Poppins,system-ui,sans-serif;
  --header-height:4rem;
  --cover-orange:#e13b02;
  color-scheme:dark;
}
*{box-sizing:border-box}
body,h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font:800 1em/1.02 var(--heading);letter-spacing:-.045em}
h1{font-size:clamp(1.85rem,3.2vw,2.5rem)}
h2{font-size:clamp(1.45rem,2.6vw,2rem)}
h3{font-size:clamp(1.16rem,2vw,1.5rem)}
a{color:inherit;text-underline-offset:.28em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
img{display:block;max-width:100%}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default}
.shell{width:min(80rem,calc(100% - 2 * clamp(1.15rem,5vw,5rem)));margin-inline:auto}
.bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;flex-wrap:wrap;min-height:var(--header-height)}
header nav{display:flex;gap:clamp(.8rem,3vw,2.4rem);flex-wrap:wrap}
header a,footer a{text-decoration:none}
header nav a{display:inline-flex;align-items:center;min-height:2.75rem;font-weight:600;font-size:.875rem}
header nav a:hover,header nav a[aria-current],footer a:hover{color:var(--orange)}
.brand{display:inline-flex;align-items:center;gap:.6rem;font:800 1.3rem/1 var(--heading);letter-spacing:-.035em}
.brand img{width:1.85rem;height:1.85rem;object-fit:contain}
.skip{position:absolute;z-index:4;left:1rem;top:1rem;transform:translateY(-180%);padding:.65rem 1rem;background:var(--paper);color:var(--navy)}
.skip:focus{transform:none}
.hero{
  display:grid;
  grid-template-rows:auto minmax(min-content,1fr) auto;
  min-height:calc(100svh - var(--header-height));
  padding-block:clamp(1.6rem,4vh,3.5rem);
  background:var(--cover-orange);
  color:var(--navy);
}
.hero-heading{text-align:center}
.hero h1{max-width:38ch;margin-inline:auto;line-height:1.06;text-wrap:balance}
.hero-art{
  width:min(100%,185vh,100rem);
  aspect-ratio:3.2;
  align-self:center;
  justify-self:center;
  overflow:hidden;
}
.hero-art img{width:100%;height:100%;object-fit:cover;object-position:50% 44%}
.hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem 2rem;flex-wrap:wrap}
.hero-bottom p{max-width:49ch;font-size:.875rem}
.hero-link{display:inline-flex;align-items:center;gap:.6rem;min-height:2.75rem;font-weight:600}
.hero-link:focus-visible{outline-color:var(--navy)}
.hero-link span{display:inline-block}
.study-actions{margin-top:clamp(1.5rem,4vw,3rem)}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:1rem;width:fit-content;min-height:3rem;padding:.65rem 1rem;border:0;background:var(--orange);color:var(--navy);text-decoration:none;font-size:.875rem;font-weight:600}
.button:hover{background:var(--paper)}
.button:disabled{opacity:.7}
.section{padding-block:clamp(2.5rem,5vw,5rem)}
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:1.25rem;margin-bottom:clamp(1.5rem,3vw,2.7rem)}
.section-title>span{font:800 clamp(1.1rem,2.2vw,1.6rem)/1 var(--heading);color:var(--orange)}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.25rem,3vw,2.6rem)}
.project{display:block;height:100%;text-decoration:none}
.cover{position:relative;overflow:hidden;background:#d93400;aspect-ratio:1.42}
.cover img{height:100%;width:100%;object-fit:cover}
.card-detail{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding-block:.95rem}
.card-detail :is(h2,h3){font-size:clamp(1.2rem,2.1vw,1.55rem)}
.card-detail p{margin-top:.35rem;color:var(--muted);font-size:.9rem}
.project-arrow{
  display:grid;
  place-items:center;
  width:2.15rem;
  height:2.15rem;
  flex:none;
  border:1px solid #707786;
  border-radius:50%;
  color:var(--orange);
  font-size:1rem;
}
.project:is(:hover,:focus-visible) .project-arrow{background:var(--orange);color:var(--navy);border-color:var(--orange)}
.project:hover :is(h2,h3){text-decoration:underline;text-underline-offset:.16em}
.approach{background:var(--light-navy)}
.process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem clamp(1rem,3vw,2.6rem);margin:0;padding:0;list-style:none}
.process img{width:100%;height:auto;aspect-ratio:18/11;object-fit:contain;background:var(--paper)}
.process h3{margin-top:1rem}
.process p{color:var(--muted);margin-top:.65rem;font-size:.9rem}
.tool-list{display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;margin:0;padding:0}
.tool-list li{display:flex;align-items:center;gap:.55rem;padding:.7rem 1rem;background:var(--light-navy);font-weight:600}
.tool-list img{flex:none;width:1.5rem;height:1.5rem;object-fit:contain}
.tool-list .ladybug{background:var(--orange);color:var(--navy)}
.home-contact{display:flex;align-items:center;justify-content:space-between;gap:1.2rem 2rem;flex-wrap:wrap;background:var(--paper);color:var(--navy);padding:clamp(1.35rem,5vw,4rem)}
.home-contact{--copy-hover:var(--navy);--copy-hover-text:var(--paper)}
.floating-contact{position:fixed;z-index:3;right:max(1rem,env(safe-area-inset-right));bottom:calc(1rem + env(safe-area-inset-bottom));border-radius:100vw;box-shadow:0 4px 20px #10151e60}
.home footer{padding-bottom:calc(3.5rem + env(safe-area-inset-bottom))}
footer{background:#10151e;margin-top:clamp(2rem,5vw,4rem);font-size:.82rem;color:var(--muted)}
footer .bar{padding-block:1rem}
.page{padding-block:clamp(2rem,6vw,5.5rem);min-height:65vh}
.narrow{max-width:47rem}
.narrow>p{margin-top:1.2rem;max-width:61ch;color:var(--muted)}
.narrow>.button,.narrow .back{margin-top:1.5rem}
.page .subtitle{font-size:clamp(.9375rem,1.6vw,1.125rem);margin-top:1rem}
.email-copy{display:flex;align-items:center;gap:.45rem .75rem;flex-wrap:wrap;min-width:0}
.email-copy [data-email]{overflow-wrap:anywhere}
.narrow .email-copy{margin-top:1.5rem;font-size:clamp(1rem,2vw,1.3rem)}
.contact-send{border-radius:100vw}
.copy-email:not([hidden]){display:inline-flex;align-items:center;gap:.45rem;min-height:2.75rem;padding:.45rem .7rem;border:1px solid #788494;background:transparent;color:inherit;font-size:.83rem}
.copy-email:hover{background:var(--copy-hover,var(--light-navy));color:var(--copy-hover-text,var(--paper))}
.copy-status{font-size:.8rem;flex-basis:100%}
.copy-status:empty,.file-status:empty{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.study .back{margin-bottom:1.4rem}
.study-summary{max-width:72ch;margin-top:1rem;color:var(--muted)}
.study-nav{display:flex;justify-content:space-between;align-items:stretch;flex-wrap:wrap;gap:.85rem;margin-top:2rem}
.study-nav a{display:grid;align-content:center;gap:.25rem;min-height:3rem;padding:.75rem 1rem;background:var(--light-navy);text-decoration:none}
.study-nav a:hover{color:var(--orange)}
.study-nav span{font-size:.8rem;color:var(--muted)}
.study-nav a[rel="next"]{margin-inline-start:auto;text-align:end}
.back{display:block;width:fit-content;color:var(--muted)}
.gallery{margin-top:2rem}
.gallery-toolbar{display:none;align-items:center;justify-content:flex-end;gap:.8rem;margin-bottom:.75rem}
.gallery-toolbar button,.sheet-order button,.subtle{min-width:2.75rem;min-height:2.75rem;border:0;background:var(--light-navy);color:var(--paper)}
.gallery-toolbar button:hover,.sheet-order button:hover,.subtle:hover{background:var(--orange);color:var(--navy)}
.gallery-toolbar button:disabled,.sheet-order button:disabled{opacity:.45}
.slides figure{scroll-margin-block-start:1rem}
.next-sheet{display:grid;place-items:center;width:2.75rem;height:2.75rem;margin:.65rem auto;color:var(--muted);text-decoration:none;font-size:1.2rem}
.next-sheet:is(:hover,:focus-visible){color:var(--orange)}
.gallery-toolbar button span{display:inline-block}
@media (hover:none) and (pointer:coarse){
  .gallery-toolbar{display:flex}
  .slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
  .slides figure{flex:0 0 100%;scroll-snap-align:start}
  .next-sheet{display:none}
}
.slides img{width:100%;aspect-ratio:1.414;object-fit:contain;background:#f7f6f4}
.form{display:grid;gap:1rem;margin-top:1.25rem}
.form label{display:grid;gap:.25rem}
.form input,.form textarea{width:100%;padding:.65rem .8rem;border:1px solid #788494;border-radius:0;background:#10151e;color:var(--paper)}
.form textarea{resize:vertical}
.notice,.form-help{color:var(--muted);font-size:.9rem}
.editor-actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;margin-bottom:1.75rem}
.editor .notice{margin-bottom:1rem}
.editor .form .notice{margin-bottom:0}
.editor-drafts{margin-bottom:2rem;padding:clamp(1rem,3vw,1.75rem);border:1px solid #394452;border-radius:1.15rem}
.editor-drafts h2,.delete-project h2{margin-bottom:.8rem}
.editor-drafts ul{display:grid;gap:.5rem;list-style:none;padding:0;margin:0;max-width:42rem}
.editor-drafts li{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:var(--light-navy);padding:.25rem .4rem .25rem .85rem;border-radius:.6rem;overflow-wrap:anywhere}
.delete-project .editor-actions{margin-top:1.25rem}
.project-actions{display:flex;gap:1rem;align-items:center}
.project-actions a{display:inline-flex;align-items:center;min-height:2.75rem;font-size:.875rem}
.project-actions a:hover{color:var(--orange)}
.project-fields{min-width:0;border:0;padding:0;margin:0}
.project-step:not([hidden]){display:grid;gap:1rem}
.project-step + .project-step:not([hidden]){margin-top:1.25rem}
[data-editor-steps]:not([hidden]) ~ .project-fields .project-step{margin-top:0}
.project-basics,.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.upload-sheets{grid-column:1/-1}
.upload-field{min-width:0}
.form .file-drop{gap:.45rem;min-width:0;padding:1rem;border:1px dashed #858b94;border-radius:.85rem;background:#161d27}
.form .file-drop[data-drag-over]{border-color:var(--orange);background:#302626}
.upload-icon{padding:.45rem;width:2.2rem;height:2.2rem;border-radius:50%;background:#412a27;color:#ff866f}
.editor-grid .form .file-drop input{min-width:0;padding:0;border:0;background:transparent;cursor:pointer}
[data-files-ready] .file-drop input{color:transparent}
.file-drop input::file-selector-button{min-height:2.75rem;margin-inline-end:.65rem;padding:.4rem .75rem;border:1px solid #66717f;border-radius:.55rem;background:var(--light-navy);color:var(--paper);font:inherit;cursor:pointer}
.file-drop .drop-hint{display:none}
@media(any-pointer:fine){[data-files-ready] .file-drop .drop-hint{display:block}}
.file-drop .file-name{overflow-wrap:anywhere}
.file-drop .file-name:empty{display:none}
.clear-file{margin-top:.35rem;font-size:.8rem}
.editor-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;margin-top:1.5rem}
.editor-grid:has(.editor-preview){grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr)}
.editor-grid .form{margin-top:0;padding:clamp(1.1rem,3vw,2.25rem);border:1px solid #394452;border-radius:1.45rem;background:var(--light-navy);color:var(--paper)}
.editor-grid:not(:has(.editor-preview)) .form{width:100%;max-width:47rem;justify-self:center}
.editor-grid .form :is(input:not([type="file"]),textarea){border:1px solid #788494;border-radius:.55rem;background:#141b24;color:var(--paper)}
.editor-grid .form input[readonly]{background:#293341;color:var(--muted)}
.editor-grid .form :is(.button,.subtle){border-radius:.65rem}
.editor-grid .form .subtle,.editor-grid .form .sheet-order button{background:#303d4e;color:var(--paper)}
.editor-grid .form .subtle:hover,.editor-grid .form .sheet-order button:hover:enabled{background:#485669}
.editor-steps:not([hidden]){display:flex;gap:.5rem;list-style:none;margin:0;padding:0}
.editor-steps li{flex:1;min-width:0}
.editor-steps button{width:100%;min-height:2.75rem;padding:.45rem .55rem;border:0;border-top:3px solid #647184;background:#19222e;color:var(--muted);font-size:.8rem;font-weight:600;text-align:start}
.editor-steps button:hover{background:#303d4e;color:var(--paper)}
.editor-steps button[aria-current]{border-color:var(--orange);color:var(--paper)}
.step-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.6rem}
.step-next{justify-self:end}
.step-next[hidden],.step-actions [hidden]{display:none}
.editor-preview,.editor .cards article{overflow-wrap:anywhere;border-radius:1.15rem;background:var(--light-navy);padding:clamp(.65rem,2vw,1.1rem)}
.editor-preview{align-self:start}
.editor-preview .cover,.editor .cover{border-radius:.65rem}
.editor .cards article{display:flex;flex-direction:column;scroll-margin-block-start:1rem}
.editor .project{height:auto;flex:1}
.project-order{display:flex;align-items:center;gap:.45rem;padding-block:.3rem}
.project-order span{margin-inline-end:auto;color:var(--muted);font-size:.85rem}
.project-order button{padding:0}
.project-order button:disabled{opacity:.45;background:var(--light-navy);color:var(--paper)}
.subtle{padding-inline:1rem}
.sheet-order:empty{display:none}
.sheet-order{display:grid;gap:.5rem;padding:0;list-style:none}
.sheet-order li{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.35rem;border:1px solid #465467;border-radius:.65rem;background:#161d27;overflow-wrap:anywhere}
.sheet-order li[data-dragging]{opacity:.56}
.sheet-order li[data-drop-target]{border-color:var(--orange)}
.sheet-order img{width:2.4rem;height:2rem;object-fit:cover;border-radius:.3rem;background:#303d4e}
.sheet-handle:not([hidden]){display:grid;place-items:center;width:2.75rem;height:2.75rem;cursor:grab;touch-action:none;user-select:none}
.sheet-handle:active{cursor:grabbing}
.sheet-moves{display:flex;gap:.25rem}
.sheet-moves button{padding:0}
.sheet-order li:has(.sheet-handle[hidden]){grid-template-columns:auto minmax(0,1fr) auto}
@media(prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .home .brand img{animation:logo-in .42s cubic-bezier(.2,.75,.25,1) both}
  .hero-link span,.project-arrow span,.next-sheet span,.gallery-toolbar button span{transition:transform .2s ease}
  .cover img{transition:transform .35s ease}
  .project-arrow{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
  .project:is(:hover,:focus-visible) .cover img{transform:scale(1.035)}
  .project:is(:hover,:focus-visible) .project-arrow span{transform:translate(2px,-2px)}
  .hero-link:is(:hover,:focus-visible) span,.next-sheet:is(:hover,:focus-visible) span{transform:translateY(4px)}
  [data-prev]:is(:hover,:focus-visible):enabled span{transform:translateX(-3px)}
  [data-next]:is(:hover,:focus-visible):enabled span{transform:translateX(3px)}
  @keyframes logo-in{
    from{opacity:.65;transform:translate(-.45rem,.75rem) rotate(-12deg) scale(1.15)}
    to{opacity:1;transform:none}
  }
}
@media(max-width:700px){
  .cards,.process,.editor-grid:has(.editor-preview){grid-template-columns:minmax(0,1fr)}
  .hero-bottom{align-items:flex-start;flex-direction:column;gap:.55rem}
  :root{--header-height:5.25rem}
  header .bar{display:grid;gap:0;padding-top:.35rem}
  header .brand{min-height:2rem;font-size:1.12rem;justify-self:start}
  header .brand img{width:1.55rem;height:1.55rem}
  header nav{justify-content:space-between;gap:0 .5rem}
  header nav a{min-inline-size:2.75rem;justify-content:center;font-size:.75rem;white-space:nowrap}
  h1{font-size:clamp(1.5rem,5vw,2rem)}
  h2{font-size:clamp(1.3rem,4vw,1.65rem)}
}
@media(max-width:520px){
  .project-basics,.upload-grid{grid-template-columns:minmax(0,1fr)}
  .sheet-order li{gap:.3rem}
  .sheet-order img{width:1.65rem;height:1.5rem}
}
