/* Structural fidelity pass — measurements made against the live reference
   at 1440×900 and 390×844, not approximate page-sized sections.
   Contents are original to Zukhruf; geometry and interaction mirror source. */
#frame-content .home-flow #start{height:calc(100dvh - 96px);min-height:0}
#frame-content .home-flow #about{
  min-height:1287px;
  height:1287px;
  padding-top:88px;
}
#frame-content .home-flow #about .section-heading h2{
  font-size:64px;
  line-height:1.1;
  letter-spacing:-.054em;
}
#frame-content .home-flow #about .about-cards{margin-top:91px}
#frame-content #work{
  height:1279px;
  min-height:1279px;
  padding-top:88px;
  padding-bottom:0;
  overflow:hidden;
  padding-left:55px;
  padding-right:55px;
}
#frame-content #work .section-heading h2{
  font-size:64px;letter-spacing:-.058em;line-height:1.1;
}
#frame-content #work .section-heading>p{margin-top:16px}
#frame-content #work .work-rows{
  width:min(1050px,100%);
  max-width:1050px;
  margin-top:11px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:29px;
  border:0;
}
#frame-content #work .work-row{
  flex:none;
  height:244px;
  width:calc(100% - 52px);
  padding:35px 31px;
  margin:0;
  gap:23px;
  background:rgba(12,11,12,.52);
  border:1px solid rgba(145,116,121,.27);
  overflow:hidden;
  will-change:transform,background,border-color;
  transition:background .3s ease,border-color .3s ease,box-shadow .3s ease;
}
#frame-content #work .work-row::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(ellipse 50% 100% at 1% 90%,rgba(171,63,83,.13),transparent 86%);
  opacity:0;transition:opacity .3s;
  pointer-events:none;
}
#frame-content #work .work-row:hover{
  background:rgba(45,19,26,.48);
  border-color:rgba(207,121,143,.54);
  box-shadow:0 14px 55px rgba(0,0,0,.24)
}
#frame-content #work .work-row:hover::before{opacity:1}
#frame-content #work .work-num{font-size:11px;align-self:center;color:#96989a;min-width:25px}
#frame-content #work .work-name strong{
  font-size:48px;
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.055em;
}
#frame-content #work .work-tags,#frame-content #work .chips{margin-top:16px;gap:6px}
#frame-content #work .work-tags span,#frame-content #work .chips span{
  font-size:10px;
  padding:5px 10px;
  color:#9a9a9a;
  border-color:#494449;
}
#frame-content #work .work-row time{font-size:11px}
#frame-content #work .row-arrow{opacity:.38;font-size:26px}
#frame-content #work .work-row:hover .row-arrow{opacity:1}
#frame-content #work .text-link{margin-top:33px}
#frame-content #experiments{
  min-height:835px;
  height:835px;
  padding-top:88px;
  padding-bottom:20px;
  overflow:hidden;
}
#frame-content #experiments .section-heading h2{
  font-size:64px;
  letter-spacing:-.056em;
  line-height:1.1;
}
#frame-content #experiments .notes-carousel{margin-top:77px}
#frame-content #contact{
  min-height:624px;
  height:624px;
  padding-top:0;
  padding-bottom:0;
  justify-content:flex-start;
  position:relative;
}
#frame-content #contact .section-heading{
  margin:0 auto;
  padding-top:138px;
  width:min(1100px,100%);
}
#frame-content #contact .section-heading .label{display:block}
#frame-content #contact .section-heading h2{
  font-size:64px;line-height:1.08;letter-spacing:-.06em;
  margin-top:8px
}
#frame-content #contact .wave{margin:5px 0 0;font-size:28px}
#frame-content #contact .contact-cta{margin-top:33px}
#frame-content .home-document-footer{
  height:588px;
  min-height:588px;
  padding:85px 10% 35px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
  background:
    radial-gradient(ellipse 55% 62% at 50% 8%,rgba(67,110,67,.11),transparent 84%),
    #0c0e0d;
  border-top:1px solid rgba(140,149,140,.12);
  text-align:center;
  position:relative;
  z-index:1
}
.home-document-footer .document-footer-kicker{
  font:10px var(--mono);color:#909b91;letter-spacing:.12em
}
.home-document-footer .document-footer-kicker span{color:#75c37c}
.home-document-footer .document-footer-title{
  font:400 clamp(47px,5.3vw,77px)/1.08 var(--font);
  letter-spacing:-.065em;
  color:#e2e7e2;
}
.home-document-footer .document-footer-title em{font-style:normal;color:#83d67f}
.home-document-footer .document-footer-links{display:flex;justify-content:center;gap:37px}
.home-document-footer .document-footer-links a{
  color:#a2aca1;font:11px var(--mono);
  border-bottom:1px solid transparent;
  padding-bottom:6px;
  transition:color .2s,border-color .2s
}
.home-document-footer .document-footer-links a:hover{color:#ddf5de;border-color:#84d17d}
.home-document-footer .document-footer-bottom{
  align-self:stretch;
  display:flex;
  justify-content:space-between;
  border-top:1px solid #333a33;
  padding-top:19px;
  gap:20px;
  font:10px/1.6 var(--mono);
  color:#929b91
}
.home-document-footer .document-footer-bottom a:hover{color:#91e38b}
@media(min-width:601px) and (max-width:1100px){
  #frame-content #work .work-rows{width:100%}
  #frame-content #work .work-row{height:244px}
  #frame-content .home-flow #about .section-heading h2{font-size:clamp(42px,5.7vw,64px)}
}
@media(max-width:600px){
  #frame-content .home-flow #start{height:calc(100dvh - 96px)}
  #frame-content .home-flow #about{
    height:1997px;
    min-height:1997px;
    padding-top:55px;
    padding-left:16px;
    padding-right:16px;
  }
  #frame-content .home-flow #about .section-heading{
    margin-top:-31px;
  }
  #frame-content .home-flow #about .section-heading h2{
    font-size:36.3px;
    letter-spacing:-.056em;
    line-height:1.12;
  }
  #frame-content .home-flow #about .about-cards{
    margin-top:55px;
    gap:34px;
    width:100%;
  }
  #frame-content .home-flow #about .about-main{
    order:1;min-height:600px;height:600px
  }
  #frame-content .home-flow #about .about-main .window-content{
    padding:24px 20px
  }
  #frame-content .home-flow #about .about-code p{
    font-size:12px;
    line-height:2.05;
    margin-bottom:18px;
  }
  #frame-content .home-flow #about .about-place{
    order:2;min-height:178px;height:178px
  }
  #frame-content .home-flow #about .about-portrait{
    order:3;min-height:295px;height:295px
  }
  #frame-content .home-flow #about .about-portrait .portrait-art{
    height:266px;max-height:266px;
  }
  #frame-content .home-flow #about .about-interests{
    order:4;min-height:180px;height:180px
  }
  #frame-content .home-flow #about .about-links{
    order:5;min-height:190px;height:190px
  }
  #frame-content .home-flow #about .about-continuation{bottom:44px}
  #frame-content #work{
    min-height:1581px;
    height:1581px;
    padding:0 16px 0;
    overflow:hidden;
  }
  #frame-content #work .section-heading{
    padding-top:24px;
  }
  #frame-content #work .section-heading h2{
    font-size:36.3px;
    line-height:1.13
  }
  #frame-content #work .section-heading>p{font-size:11px}
  #frame-content #work .work-rows{
    margin-top:52px;
    width:100%;
    max-width:100%;
    align-items:stretch;
    gap:57px
  }
  #frame-content #work .work-row{
    width:100%;
    height:359px;
    padding:34px 19px;
    display:flex;
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    gap:10px
  }
  #frame-content #work .work-row:nth-child(2){height:393px}
  #frame-content #work .work-row .work-num{
    align-self:flex-start;
    margin:0;
    font-size:10px;
  }
  #frame-content #work .work-row .work-name{flex:0 0 auto}
  #frame-content #work .work-name strong{
    font-size:30.3px;
    line-height:1.12;
  }
  #frame-content #work .work-row time{position:absolute;right:18px;top:24px}
  #frame-content #work .work-row .row-arrow{position:absolute;right:20px;bottom:20px}
  #frame-content #work .chips span{font-size:9px;padding:5px 7px}
  #frame-content #work .text-link{margin-top:33px}
  #frame-content #experiments{
    height:890px;min-height:890px;
    padding:25px 17px 35px;
  }
  #frame-content #experiments .section-heading h2{
    font-size:36.3px;line-height:1.13;
  }
  #frame-content #experiments .notes-carousel{margin-top:76px}
  #frame-content #contact{
    height:657px;min-height:657px;
    padding:0 16px;
  }
  #frame-content #contact .section-heading{
    padding-top:74px;
  }
  #frame-content #contact .section-heading h2{font-size:36.3px;margin-top:20px}
  #frame-content #contact .wave{font-size:33px;margin-top:125px}
  #frame-content #contact .contact-cta{margin-top:34px}
  #frame-content .home-document-footer{
    height:510px;min-height:510px;
    padding:69px 27px 26px;
  }
  .home-document-footer .document-footer-title{
    font-size:45px;
    max-width:320px
  }
  .home-document-footer .document-footer-links{
    display:grid;grid-template-columns:repeat(2,1fr);
    column-gap:40px;row-gap:16px
  }
  .home-document-footer .document-footer-bottom{
    flex-direction:column;
    align-items:center;
    gap:10px;
    font-size:9px
  }
}
@media(prefers-reduced-motion:reduce){
  #frame-content #work .work-row{will-change:auto}
  #frame-content .home-document-footer a{transition:none}
}

/* Live reference color and ending pass. The current live portfolio uses
   green illuminated surfaces while progressing from Work into testimonials.
   Red is reserved for interactive project accents, not the full backdrop. */
#frame-content #work .red-glow{
  left:-35%;top:13%;width:92vw;height:103vh;
  background:radial-gradient(ellipse at 50% 52%,rgba(69,156,73,.57),rgba(42,98,48,.25) 45%,transparent 75%);
  filter:blur(61px);
  opacity:.87;
  mix-blend-mode:screen;
}
#frame-content #work::after{
  content:"";
  position:absolute;
  right:-34%;top:6%;
  width:82vw;height:108vh;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(54,126,58,.47),rgba(35,84,39,.2) 47%,transparent 77%);
  filter:blur(74px);
  pointer-events:none;
  z-index:-4;
}
#frame-content #experiments .yellow-glow{
  left:-42%;top:2%;width:96vw;height:100vh;
  background:radial-gradient(ellipse at 51% 50%,rgba(64,144,72,.56),rgba(43,108,52,.24) 46%,transparent 75%);
  opacity:.8;
  filter:blur(65px);
}
#frame-content #experiments::after{
  content:"";position:absolute;
  right:-43%;top:19%;width:96vw;height:96vh;
  background:radial-gradient(ellipse,rgba(53,130,60,.42),rgba(38,93,45,.19) 48%,transparent 75%);
  filter:blur(74px);border-radius:50%;pointer-events:none;z-index:-4;
}
#frame-content #experiments .section-heading h2 em{color:#dcf0df}
#frame-content #experiments .note-card{background:rgba(12,18,13,.9);border-color:rgba(101,140,106,.42)}
#frame-content #experiments .note-card .window-header{border-color:#3a493e;color:#cad8c8}
#frame-content #experiments .note-card .note-avatar{color:#b0e6ac;background:#1a2a1e;border-color:#4c7d51}
#frame-content #experiments .notes-controls button{color:#9bcf9d;border-color:#476349;background:#141c16}
#frame-content #experiments .notes-controls button:hover{color:#102110;background:#a4e394;border-color:#a4e394}
#frame-content #experiments .notes-controls{color:#b8d8b7}

/* The actual reference's bottom 588px is a sparse dark footer with small
   links/legal text and background lighting, not a second oversized hero. */
#frame-content .home-document-footer{
  padding:63px 7.3% 32px;
  background:#0b0d0b;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  justify-content:space-between;
  align-items:stretch;
  text-align:left;
  gap:0;
}
#frame-content .home-document-footer::before,
#frame-content .home-document-footer::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  border-radius:50%;filter:blur(65px);
}
#frame-content .home-document-footer::before{
  width:52%;height:115%;left:-25%;top:-28%;
  background:radial-gradient(ellipse,rgba(92,173,94,.65),rgba(49,109,55,.3) 44%,transparent 76%);
}
#frame-content .home-document-footer::after{
  width:57%;height:112%;right:-22%;top:8%;
  background:radial-gradient(ellipse,rgba(75,155,82,.59),rgba(42,102,54,.28) 43%,transparent 76%);
}
#frame-content .home-document-footer .document-footer-top{
  display:flex;justify-content:space-between;gap:24px;align-items:center;
  position:relative;z-index:1;
}
#frame-content .home-document-footer .document-footer-brand{
  font:500 12px var(--mono);letter-spacing:-.045em;color:#d9e6d8;
  text-decoration:none;
}
#frame-content .home-document-footer .document-footer-brand span{color:#95dd90}
#frame-content .home-document-footer .document-footer-availability{
  display:flex;align-items:center;gap:10px;
  font:9px var(--mono);letter-spacing:.08em;color:#a7b9a6;
}
#frame-content .home-document-footer .document-footer-availability i{
  display:block;width:6px;height:6px;border-radius:50%;
  background:#87e18b;box-shadow:0 0 8px #7dd87f;
}
#frame-content .home-document-footer .document-footer-middle{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:35px;
  position:relative;z-index:1;
}
#frame-content .home-document-footer .document-footer-note>span{
  color:#9eb39f;font:9px var(--mono);letter-spacing:.09em;
}
#frame-content .home-document-footer .document-footer-note p{
  margin:11px 0 0;font:400 14px/1.65 var(--font);
  color:#b8c8b9;letter-spacing:-.025em;
}
#frame-content .home-document-footer .document-footer-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(135px,1fr));
  gap:24px 48px;
}
#frame-content .home-document-footer .document-footer-links a{
  display:flex;justify-content:space-between;gap:15px;
  color:#c9d1c8;font:11px var(--mono);text-align:left;
  border-bottom:1px solid rgba(133,165,136,.24);
  padding:0 0 10px;
}
#frame-content .home-document-footer .document-footer-links a span{color:#8ca58d}
#frame-content .home-document-footer .document-footer-links a:hover{color:#b5f8aa;border-color:#8fd38e}
#frame-content .home-document-footer .document-footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  margin:0;padding:18px 0 0;border-top:1px solid rgba(139,160,140,.23);
  color:#9cae9f;font:9px var(--mono);
  position:relative;z-index:1;
}
#frame-content .home-document-footer .document-footer-bottom a{
  text-transform:lowercase;color:#a9c7ad;
}
@media(max-width:600px){
  #frame-content .home-document-footer{padding:48px 22px 25px}
  #frame-content .home-document-footer::before{width:150%;height:90%;left:-90%;top:-13%;filter:blur(50px)}
  #frame-content .home-document-footer::after{width:140%;height:100%;right:-90%;top:17%;filter:blur(50px)}
  #frame-content .home-document-footer .document-footer-top{align-items:flex-start}
  #frame-content .home-document-footer .document-footer-brand{font-size:10px}
  #frame-content .home-document-footer .document-footer-availability{font-size:8px}
  #frame-content .home-document-footer .document-footer-middle{
    display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:31px;
  }
  #frame-content .home-document-footer .document-footer-note p{font-size:13px}
  #frame-content .home-document-footer .document-footer-links{
    width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;
  }
  #frame-content .home-document-footer .document-footer-links a{font-size:10px}
  #frame-content .home-document-footer .document-footer-bottom{
    flex-direction:column;align-items:flex-start;gap:7px;font-size:8px;
  }
}
/* Reference screenshot comparison at 1440x900 and 390x844 shows the Home
 * section headings were displaced down by 55px while the section boundaries
 * were already correct. Shift the headings without changing scroll length. */
#frame-content #about > .section-heading,
#frame-content #work > .section-heading,
#frame-content #experiments > .section-heading{
 position:relative;top:-55px;
}
@media(max-width:600px){
 #frame-content #about > .section-heading,
 #frame-content #work > .section-heading,
 #frame-content #experiments > .section-heading{top:-55px}
}
