:root{--ink:#202521;--green:#24533e;--cream:#f5f4ee;--gold:#e4ce83;--muted:#747871}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}button,a{font:inherit}a{color:inherit}.wrap{width:min(1320px,calc(100% - 96px));margin:auto}.skip{position:absolute;top:-80px;left:12px;background:#fff;padding:12px;z-index:100}.skip:focus{top:12px}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 48px;background:#f5f4ee}.logo img{width:67px;height:36px;object-fit:contain}.topbar nav{display:flex;gap:34px}.topbar nav a{text-decoration:none;font-size:13px;font-weight:600}.topbar nav a:hover{text-decoration:underline}.hero{position:relative;overflow:hidden;isolation:isolate;background:#23503c;color:white;min-height:565px}.hero:before{content:"";position:absolute;inset:-50%;z-index:-2;background:radial-gradient(ellipse at 24% 38%,#387a58 0,transparent 38%),radial-gradient(ellipse at 76% 64%,#163c33 0,transparent 48%),radial-gradient(ellipse at 62% 14%,#336f4c 0,transparent 45%),#204d3d;animation:slowGreen 23s ease-in-out infinite alternate;transform-origin:center}.hero-grain{position:absolute;inset:0;opacity:.1;pointer-events:none;background-image:repeating-linear-gradient(90deg,transparent 0 4px,#ffffff06 5px 6px)}@keyframes slowGreen{0%{transform:translate(-3%,-2%) scale(1.03) rotate(-4deg)}50%{transform:translate(3%,1%) scale(1.12) rotate(2deg)}100%{transform:translate(-1%,4%) scale(1.06) rotate(-2deg)}}.hero-inner{position:relative;padding-top:80px;padding-bottom:60px}.eyebrow,.mini-label{font-size:11px;letter-spacing:.12em;font-weight:700}.eyebrow{color:var(--gold)}.hero h1{font-size:clamp(56px,7.2vw,116px);font-weight:600;line-height:1.03;letter-spacing:-.07em;margin:30px 0 68px;max-width:1050px}.hero h1 span,.about h2 span{color:var(--gold)}.hero-bottom{display:flex;align-items:end;justify-content:space-between;gap:40px}.hero-copy{max-width:530px;border-top:1px solid #ffffff55;padding-top:21px}.hero-copy .mini-label{color:var(--gold)}.hero-copy p{font-size:17px;line-height:1.7;color:#f0f1e9;margin:12px 0 0}.hero-jump{font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none;border-bottom:1px solid #ffffff99;padding-bottom:12px}.hero-jump span{font-size:22px;margin-left:30px}.projects{padding-top:105px;padding-bottom:125px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:42px}.section-heading .mini-label{color:#567c61}.section-heading h2,.about h2{font-size:clamp(46px,5vw,75px);line-height:1;letter-spacing:-.065em;font-weight:600;margin:12px 0 0}.count{font-size:16px;color:#9a9d94;vertical-align:top;letter-spacing:0;margin-left:12px}.section-heading>p{max-width:380px;line-height:1.6;color:#62685f;font-size:15px;margin:0 0 5px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;row-gap:58px}.project-card{text-decoration:none;min-width:0;display:block;outline-offset:5px}.card-frame{position:relative;background:#242725;padding:clamp(22px,3.6vw,52px);aspect-ratio:1.26;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:background .25s ease}.card-stage{background:#c4c5c0;width:100%;aspect-ratio:16/9;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-stage img{width:100%;height:100%;object-fit:contain;transition:transform .5s cubic-bezier(.2,.8,.2,1)}.project-card:hover .card-stage img,.project-card:focus-visible .card-stage img{transform:scale(1.035)}.project-card:hover .card-frame{background:#303832}.card-cta{position:absolute;right:24px;bottom:22px;background:#f5f4ee;color:#1f2a23;padding:11px 16px;border-radius:50px;font-size:12px;font-weight:700;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}.project-card:hover .card-cta,.project-card:focus-visible .card-cta{opacity:1;transform:translateY(0)}.card-label{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:19px}.card-label h3{font-size:20px;letter-spacing:-.035em;font-weight:600;margin:0}.card-label span{font-size:10px;letter-spacing:.06em;font-weight:700;text-align:right;color:#6c756d;text-transform:uppercase}.card-summary{margin:7px 0 0;font-size:13px;line-height:1.55;color:#747a72;max-width:95%}.about{background:#1d4437;color:#f7f6ee;padding:110px 0 45px}.about .mini-label{color:var(--gold)}.about h2{margin-bottom:50px}.about-columns{display:grid;grid-template-columns:1fr 1fr;gap:75px;max-width:1100px}.about-columns p{font-size:17px;line-height:1.85;color:#e0e8dd;margin:0 0 24px}.about-columns a{display:block;color:var(--gold);margin:15px 0;text-underline-offset:4px}.signoff{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff44;margin-top:95px;padding-top:28px;color:#c4d0c5;font-size:12px}.signoff img{width:65px;filter:brightness(0) invert(1)}body.modal-open{overflow:hidden}.overlay{position:fixed;inset:0;z-index:50;visibility:hidden;pointer-events:none}.overlay.is-open{visibility:visible;pointer-events:auto}.overlay-scrim{position:absolute;inset:0;background:rgba(9,19,16,.82);backdrop-filter:blur(8px);opacity:0;transition:opacity .3s}.overlay.is-open .overlay-scrim{opacity:1}.modal{position:absolute;inset:clamp(16px,3vw,44px);max-width:1180px;margin:auto;background:#f6f5f0;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 90px #0007;opacity:0;transform:translateY(18px) scale(.99);transition:opacity .28s,transform .28s;outline:none}.overlay.is-open .modal{opacity:1;transform:translateY(0) scale(1)}.modal-top,.modal-footer{display:flex;align-items:center;justify-content:space-between;flex:none;background:#f6f5f0;padding:15px 32px;border-bottom:1px solid #deded6}.modal-index,.modal-count{font-size:11px;font-weight:700;letter-spacing:.09em;color:#7b8077}.close-button{display:flex;align-items:center;gap:13px;border:0;background:#232923;color:white;border-radius:100px;padding:10px 12px 10px 18px;cursor:pointer;font-size:12px;font-weight:600}.close-button:hover{background:#3b4b3c}.modal-scroll{overflow-y:auto;overscroll-behavior:contain;padding:35px clamp(24px,5vw,76px) 55px;flex:1;min-height:0}.modal-heading{max-width:830px;margin-bottom:32px}.modal-heading .mini-label{color:#568064}.modal-heading h2{font-size:clamp(38px,5vw,72px);font-weight:600;letter-spacing:-.06em;line-height:1.08;margin:10px 0 16px}.modal-heading>p{font-size:clamp(15px,1.55vw,19px);line-height:1.65;color:#555f56;margin:0}.modal-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.modal-images figure{margin:0;background:#e6e6df;padding:20px;border-radius:6px;min-width:0}.modal-images figure:first-child{grid-column:1/-1;padding:clamp(18px,3vw,42px)}.modal-images img{width:100%;height:auto;max-height:580px;object-fit:contain;display:block;margin:auto}.modal-images figure:not(:first-child) img{max-height:340px}.modal-images figcaption{font-size:12px;color:#62675f;margin-top:12px}.modal-detail{display:grid;grid-template-columns:1fr auto;gap:30px;border-top:1px solid #d5d8d0;margin-top:35px;padding-top:26px}.modal-detail .mini-label{color:#537a5c}.modal-detail p{font-size:16px;line-height:1.7;max-width:720px}.modal-detail a{display:inline-block;text-decoration:none;border:1px solid #2d4232;padding:13px 19px;border-radius:50px;font-size:13px;font-weight:700;white-space:nowrap}.modal-detail a:hover{background:#244d38;color:white}.modal-footer{border-top:1px solid #deded6;border-bottom:0;padding:14px 32px}.modal-nav{background:none;border:0;font-weight:600;font-size:13px;cursor:pointer;padding:12px 0}.modal-nav:hover{text-decoration:underline}.modal-nav:disabled{opacity:.3;cursor:default}.modal-nav:disabled:hover{text-decoration:none}.modal-empty{grid-column:1/-1;min-height:260px;display:grid;place-items:center;background:#e5e6df;color:#69736c;text-align:center;padding:30px;border-radius:6px}.modal-empty img{max-width:100%;width:340px}.modal:focus-visible{outline:none}@media(max-width:800px){.wrap{width:calc(100% - 42px)}.topbar{height:66px;padding:0 21px}.topbar nav{gap:16px}.topbar nav a{font-size:11px}.hero{min-height:0}.hero-inner{padding-top:66px;padding-bottom:52px}.hero h1{font-size:clamp(53px,10vw,82px);margin:30px 0 52px}.hero-bottom{align-items:start;flex-direction:column;gap:25px}.hero-copy p{font-size:15px}.projects{padding-top:75px;padding-bottom:90px}.section-heading{display:block;margin-bottom:32px}.section-heading>p{margin-top:20px}.project-grid{grid-template-columns:1fr;row-gap:40px}.card-frame{padding:clamp(20px,6vw,45px)}.card-label h3{font-size:19px}.about{padding:75px 0 35px}.about-columns{grid-template-columns:1fr;gap:0}.about-columns p{font-size:15px}.modal{inset:8px;border-radius:9px}.modal-top,.modal-footer{padding:12px 17px}.modal-scroll{padding:25px 20px 35px}.modal-images{grid-template-columns:1fr}.modal-images figure:first-child{grid-column:auto}.modal-images figure{padding:15px!important}.modal-detail{grid-template-columns:1fr;gap:8px}.modal-detail p{font-size:15px}.modal-nav{font-size:12px}.modal-count{font-size:10px}.close-button{padding:10px 11px}.close-button span{display:none}}@media(max-width:420px){.topbar nav{gap:12px}.topbar nav a:nth-child(2){display:none}.card-label{align-items:start;flex-direction:column;gap:4px}.hero h1{font-size:50px}.modal-nav span{display:none}.modal-nav{font-size:22px;padding:5px 10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero:before{animation:none}.modal,.overlay-scrim,.card-stage img,.card-cta{transition:none}}

/* v2.1: wide gallery, sticky header, adaptive floating dock */
.wrap{width:min(1500px,calc(100% - 96px))}
.topbar{position:sticky;top:0;z-index:30;transition:height .25s,box-shadow .25s;background:rgba(245,244,238,.96);backdrop-filter:blur(12px)}
.topbar.is-scrolled{height:62px;box-shadow:0 1px 0 rgba(28,48,34,.13),0 7px 28px rgba(15,40,25,.055)}
.hero-copy{max-width:530px}.about-columns{max-width:1100px}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.context-dock{position:fixed;bottom:clamp(16px,3vh,30px);left:50%;transform:translate(-50%,calc(100% + 55px));z-index:70;background:#242725;color:#f7f6ef;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px;box-shadow:0 12px 38px rgba(0,0,0,.23);opacity:0;pointer-events:none;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .26s,background .25s;white-space:nowrap}
.context-dock.is-visible{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.dock-section,.dock-project{display:flex;align-items:center;gap:3px}
.dock-project{display:none}
.context-dock.is-project .dock-section{display:none}
.context-dock.is-project .dock-project{display:flex}
.dock-item{border:0;text-decoration:none;cursor:pointer;background:transparent;color:#d1d4cc;display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:12px 15px;min-height:42px;border-radius:999px;font-size:12px;font-weight:600;transition:background .18s,color .18s}
.dock-item:hover,.dock-item:focus-visible,.dock-item.is-active{background:#46574a;color:#fff}
.dock-item:disabled{opacity:.3;cursor:default;background:transparent}
.dock-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dock-icon-only{width:44px;padding:12px}
.dock-divider{height:24px;width:1px;background:rgba(255,255,255,.2);margin:0 3px}
.dock-project-label{font-size:12px;font-weight:700;letter-spacing:.08em;color:#f4f2e9;min-width:72px;text-align:center}
.dock-close{background:#e5ce86;color:#242725;padding-inline:16px}
.dock-close:hover,.dock-close:focus-visible{background:#f1dc9b;color:#242725}
/* The project dock replaces the modal's duplicate previous/next footer. */
.modal-footer{display:none}
.modal-scroll{padding-bottom:110px}
@media(max-width:800px){.wrap{width:calc(100% - 42px)}.topbar.is-scrolled{height:58px}.context-dock{bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100vw - 20px)}.dock-item{padding:11px 12px}.dock-icon-only{width:42px}.dock-project-label{min-width:62px}.modal-scroll{padding-bottom:115px}}
@media(prefers-reduced-motion:reduce){.context-dock,.topbar{transition:none}}

/* v2.2 — single close control in the contextual dock; perfectly circular icon targets */
.dock-icon-only{box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;aspect-ratio:1/1;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.dock-icon-only:hover,.dock-icon-only:focus-visible{border-radius:50%}
.modal-top{justify-content:flex-start}
@media(max-width:800px){.dock-icon-only{flex-basis:42px;width:42px;height:42px;min-width:42px;min-height:42px;max-width:42px;max-height:42px;padding:0}}

/* v2.3 – softer, Apple-inspired continuous corners and about portrait */
.card-frame{border-radius:22px;}
.card-stage{border-radius:16px;}
.modal{border-radius:30px;}
.modal-images figure,.modal-empty{border-radius:18px;}
@supports (corner-shape: squircle){
  .card-frame,.card-stage,.modal,.modal-images figure,.modal-empty{corner-shape:squircle;}
}
.about-portrait{float:left;width:min(42%,235px);margin:3px 28px 14px 0;}
.about-portrait img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:20px;background:#30614d;}
.about-portrait figcaption{font-size:11px;color:#b8cbbd;margin-top:10px;line-height:1.5;}
@supports (corner-shape: squircle){.about-portrait img{corner-shape:squircle;}}
@media(max-width:800px){.modal{border-radius:20px}.card-frame{border-radius:20px}.card-stage{border-radius:14px}.about-portrait{width:min(42%,200px);margin-right:20px}}
@media(max-width:420px){.about-portrait{width:44%;margin-right:16px}.about-portrait img{border-radius:16px}}

/* v2.4 — shorter gallery cards, restrained artboard corners.
   Keep the 16:9 Figma compositions uncropped. */
.card-frame{
  aspect-ratio:1.48;
  padding:clamp(20px,3vw,42px);
}
.card-stage{border-radius:5px;}
@media(max-width:800px){
  .card-frame{aspect-ratio:1.48;padding:clamp(18px,5vw,36px)}
  .card-stage{border-radius:4px}
}

/* v2.5 — About columns align with the two gallery columns. */
.about-columns{
  width:100%;
  max-width:none;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:30px;
}
.about-columns > div{min-width:0;}
@media(max-width:800px){
  .about-columns{grid-template-columns:1fr;row-gap:0;}
}


/* v2.6 — Sora headings, DM Sans reading text. */
h1,h2,h3,.card-label h3,.modal-heading h2{
  font-family:'Sora','DM Sans',sans-serif;
}
/* Sora has wider shapes than the previous face; use gentler tracking. */
.hero h1{letter-spacing:-.055em;}
.section-heading h2,.about h2{letter-spacing:-.055em;}
.modal-heading h2{letter-spacing:-.045em;}
.card-label h3{letter-spacing:-.025em;}

/* v2.6 — consistent screenshot framing in project overlays.
   One padding per figure; images fill the available width at natural ratio.
   Caption starts at the same left edge as the image. */
.modal-images figure,
.modal-images figure:first-child{
  padding:24px;
}
.modal-images img,
.modal-images figure:not(:first-child) img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  max-width:none;
  margin:0;
  object-fit:contain;
  border-radius:6px;
}
.modal-images figcaption{margin:12px 0 0;}
@media(max-width:800px){
  .modal-images figure,
  .modal-images figure:first-child{padding:16px!important;}
  .modal-images figcaption{margin-top:10px;}
}

/* v2.7 — header color changes smoothly after leaving the green hero. */
.topbar{
  background-color:rgba(245,244,238,.96);
  color:var(--ink);
  transition:height .25s ease,box-shadow .3s ease,background-color .55s ease,color .45s ease;
}
.topbar .logo img{transition:filter .5s ease;}
.topbar.is-after-hero{
  background-color:rgba(29,68,55,.97);
  color:#f7f6ee;
  box-shadow:0 1px 0 rgba(255,255,255,.10),0 8px 28px rgba(10,32,24,.15);
}
.topbar.is-after-hero .logo img{filter:brightness(0) invert(1);}
.topbar.is-after-hero nav a:hover,.topbar.is-after-hero nav a:focus-visible{color:var(--gold);}
@media(prefers-reduced-motion:reduce){
  .topbar,.topbar .logo img{transition:none;}
}

/* v2.8 — independent image card heights; each figure grows with its own caption. */
.modal-images{align-items:start;}
.modal-images figure{align-self:start;height:auto;}
.modal-images figcaption{height:auto;}
/* Keep the floating project controls clearly inside the overlay on desktop. */
body.modal-open .context-dock{bottom:calc(clamp(16px,3vw,44px) + 24px);}
/* The gold close action is already visually separated: no divider needed here. */
.dock-project > .dock-divider{display:none;}
/* Ensure the last content stays readable above the dock. */
.modal-scroll{padding-bottom:125px;}
@media(max-width:800px){
 body.modal-open .context-dock{bottom:calc(8px + max(12px,env(safe-area-inset-bottom)));}
 .modal-scroll{padding-bottom:120px;}
}

/* v2.9 — FC project image descriptions; other projects unchanged */
.modal-images figcaption strong{display:block;font-weight:600;color:#303a32;font-size:13px;line-height:1.5}
.modal-images figcaption .image-description{display:block;margin-top:5px;font-size:12px;line-height:1.6;color:#62675f}

/* v3.0: project descriptions use the full modal content width */
.modal-heading{max-width:none;width:100%}
.modal-detail{grid-template-columns:minmax(0,1fr) auto}
.modal-detail p{max-width:none}
/* Fourth image (mobile layouts) can retain its natural height. */
.modal-images figure:nth-child(4) img{max-height:580px}
@media(max-width:800px){.modal-detail{grid-template-columns:1fr}}

/* v3.2 — About portrait and copy: no text wrapping underneath portrait. */
.about-columns > div:first-child{
  display:grid;
  grid-template-columns:minmax(0,235px) minmax(0,1fr);
  column-gap:28px;
  align-content:start;
  align-items:start;
}
.about-columns > div:first-child .about-portrait{
  float:none;
  width:100%;
  margin:3px 0 0;
  grid-column:1;
  grid-row:1 / span 2;
}
.about-columns > div:first-child > p{grid-column:2;min-width:0;}
@media(max-width:1100px){
  .about-columns > div:first-child{grid-template-columns:minmax(0,180px) minmax(0,1fr);column-gap:22px;}
}
@media(max-width:600px){
  .about-columns > div:first-child{grid-template-columns:1fr;}
  .about-columns > div:first-child .about-portrait{grid-column:1;grid-row:auto;width:min(235px,65%);margin:0 0 24px;}
  .about-columns > div:first-child > p{grid-column:1;}
}

/* v3.5 — Independent vertical stacks avoid empty grid rows when image heights differ. */
.modal-images{display:flex;flex-direction:column;gap:16px}
.modal-images > figure{width:100%}
.gallery-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.gallery-column{display:flex;flex-direction:column;gap:16px;min-width:0}
.gallery-column figure{width:100%;margin:0}
@media(max-width:800px){.gallery-columns{grid-template-columns:1fr}.gallery-column{gap:16px}}
