/* Readable, contained portfolio layout. */
:root{--gutter:clamp(24px,9vw,160px);--muted:#5D616D}
.wrap{max-width:1240px}
.eyebrow{font-size:12px;letter-spacing:1.6px}
.site-header nav{font-size:15px}
.wordmark{font-size:25px}
.section-heading{gap:40px;margin-bottom:40px}
.section-heading>p,.tools-heading>p{font-size:16px;line-height:1.75;max-width:29ch}
h2{font-size:clamp(36px,4vw,56px)}
.hero h1{font-size:clamp(56px,7.4vw,112px)}
.reel-caption,.reel-caption a{font-size:14px}
.motion-toggle{font-size:13px;min-height:36px}
.reel-topline{font-size:11px}
.play-reel small{font-size:10px}
.caption-actions{width:100%;justify-content:flex-end}
.project-grid{gap:36px 24px}
.project-title{font-size:16px;line-height:1.5}
.project-info{padding-top:14px}
.project-no{font-size:11px}
.capabilities{grid-template-columns:1fr 1.1fr;gap:64px}
.capabilities-intro>p:not(.eyebrow){font-size:17px;max-width:40ch;line-height:1.8}
.capability-list h3{font-size:26px;line-height:1.3}
.capability-list p{font-size:16px;line-height:1.7}
.capability-number{font-size:12px}
.capability-list>div{padding:30px 0}
.ae-tools-grid{gap:32px}
.ae-tool-info{gap:10px;flex-wrap:wrap}
.ae-tool-name{font-size:23px;line-height:1.4}
.ae-tool-type{font-size:10px}
.ae-tool-summary{font-size:16px;line-height:1.75;max-width:48ch;margin-top:12px}
.text-link{font-size:17px;line-height:1.5;gap:28px}
.tools-cta{margin-top:40px}
.about{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:64px;row-gap:30px}
.portrait-placeholder{max-height:none}
.about-copy h2{font-size:clamp(38px,4vw,54px)}
.about-lead{font-size:25px;line-height:1.5;margin:24px 0}
.about-copy>p:not(.about-lead):not(.eyebrow){font-size:17px;line-height:1.8;max-width:56ch;margin:18px 0}
.copy-email{font-size:13px;padding:13px 15px}
.site-footer>p{font-size:13px}
.back-to-top{font-size:14px}
.site-footer .wordmark{font-size:20px}
.dialog-top .eyebrow{font-size:11px}
.dialog-details p:not(.eyebrow){font-size:16px}
.project-collaboration{font-size:14px;gap:7px}
.dialog-footer button{font-size:14px}
.tool-dialog-body>.eyebrow{font-size:11px}
.tool-dialog-intro{font-size:16px;line-height:1.8}
.repo-detail-highlight p,.tool-feature-grid p,.free-script-list p{font-size:15px;line-height:1.75}
.tool-feature-grid h3,.free-script-list h3{font-size:18px}
.tool-feature-grid>div>span,.script-list-number{font-size:11px}
.free-tools-note{font-size:14px}
.tool-store-link{font-size:15px}
@media(max-width:1000px){
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capabilities{gap:40px}
  .about{column-gap:40px}
  .ae-tool-info{flex-direction:column;align-items:flex-start}
  .ae-tool-name{font-size:21px}
}
@media(max-width:900px){
  .about{grid-template-columns:1fr}
  .portrait-placeholder{width:100%;max-width:540px}
  .about-copy{max-width:640px}
  .capabilities{grid-template-columns:1fr;gap:32px}
}
@media(max-width:720px){
  :root{--gutter:24px}
  .site-header .nav-contact{font-size:13px;padding:11px 13px}
  .wordmark{font-size:22px}
  .eyebrow{font-size:10px;letter-spacing:1.3px}
  .hero h1{font-size:10.5vw}
  .hero-asterisk{width:32px;height:32px;margin-left:12px}
  .section-heading,.tools-heading{flex-direction:column;gap:16px;margin-bottom:30px}
  .section-heading>p,.tools-heading>p{font-size:16px;max-width:36ch;margin:0}
  .section-heading>p br{display:none}
  .tools-heading h2{font-size:38px}
  .reel-caption a,.motion-toggle{font-size:12px}
  .caption-actions{gap:12px}
  .reel-topline{font-size:9px}
  .play-reel small{font-size:8px;letter-spacing:.8px}
  .project-grid{gap:30px 18px}
  .project-title{font-size:15px;line-height:1.45}
  .project-info{padding-top:12px}
  .capability-list h3{font-size:24px}
  .ae-tool-info{flex-direction:column;align-items:flex-start;gap:7px}
  .ae-tool-name{font-size:22px}
  .ae-tool-summary{font-size:16px}
  .about-copy h2{font-size:40px}
  .about-lead{font-size:23px}
  .about-copy>p:not(.about-lead):not(.eyebrow){font-size:16px;line-height:1.8;max-width:56ch}
  .email-link{font-size:clamp(18px,4.6vw,28px)}
  .site-footer>p{font-size:12px}
  .tool-dialog-body>.eyebrow{font-size:10px}
  .tool-dialog-intro{font-size:16px}
  .repo-detail-highlight h3{font-size:18px}
  .repo-detail-highlight p,.tool-feature-grid p,.free-script-list p{font-size:15px}
  .tool-feature-grid{grid-template-columns:1fr}
}
@media(max-width:380px){
  :root{--gutter:20px}
  .project-grid{gap:26px 14px}
  .project-title{font-size:14px}
  .text-link{font-size:16px;gap:18px}
  .hero-asterisk{width:26px;height:26px;margin-left:9px}
  .reel-caption a,.motion-toggle{font-size:11px}
}
/* Bring section introductions closer to their headings, and align tool cards. */
@media(min-width:721px){.section-heading{display:grid;grid-template-columns:1.05fr .95fr;column-gap:64px}.section-heading>p,.tools-heading>p{max-width:36ch;justify-self:start}}
.ae-tool-card{display:flex;flex-direction:column;align-self:start}.tool-visual{flex-shrink:0}

/* Requested header and section refinements. */
.site-header{height:auto;min-height:112px;padding-block:18px;gap:24px}
.header-brand{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.site-header .wordmark{font-size:37.5px;letter-spacing:-1.8px}
.header-brand .eyebrow{font-size:11px;letter-spacing:1.3px}
.section-heading,.tools-heading{display:block}
.section-heading>p,.tools-heading>p{margin:20px 0 0;max-width:62ch}
.tools-cta{display:flex;width:fit-content;margin:40px auto 0}
@media(max-width:720px){
 .site-header .wordmark{font-size:33px;letter-spacing:-1.6px}
 .header-brand .eyebrow{font-size:10px;letter-spacing:1px}
 .header-brand{gap:12px}
 .section-heading>p,.tools-heading>p{margin-top:16px;max-width:40ch}
}
@media(max-width:600px){
 .site-header{align-items:center;flex-wrap:wrap;padding-block:18px;gap:18px}
 .header-brand{flex-shrink:0}
 .site-header nav{flex-shrink:0;margin-left:auto}
}
/* Centered reel title card: complete sculpture with the play cue beneath it. */
.reel-art{width:40%;height:auto;aspect-ratio:1;left:50%;right:auto;top:7%;transform:translateX(-50%) rotate(-15deg);filter:drop-shadow(0 18px 28px #0005)}
.reel-poster:hover .reel-art{transform:translateX(-50%) rotate(0deg) scale(1.025)}
.play-reel{left:50%;top:auto;bottom:8%;transform:translateX(-50%);gap:16px;white-space:nowrap;font-size:24px}
.play-circle{width:58px;height:58px}
.reel-topline{left:4%;right:4%;top:7%}
@media(max-width:720px){
 .reel-art{width:34%;top:5%;opacity:1}
 .play-reel{bottom:7%;font-size:18px;gap:12px}
 .play-circle{width:40px;height:40px}
 .play-circle svg{width:16px;height:16px}
 .play-reel small{font-size:7px;margin-top:4px}
 .reel-topline{font-size:8px;letter-spacing:1px;top:7%}
}
@media(max-width:380px){
 .play-reel{font-size:16px;gap:10px}
 .play-circle{width:34px;height:34px}
 .play-reel small{font-size:6px}
 .reel-topline{font-size:7px}
}
@media(prefers-reduced-motion:reduce){.reel-art,.reel-poster:hover .reel-art{transform:translateX(-50%) rotate(-15deg)!important}}

.footer-links{display:flex;align-items:center;gap:30px}.footer-link{display:flex;align-items:center;gap:12px;font-size:14px;transition:color .3s}.footer-link span{font-size:18px;color:var(--blue);transition:transform .3s}.footer-link:hover{color:var(--blue)}.footer-link:hover span{transform:translate(3px,-3px)}
@media(max-width:720px){.site-footer{column-gap:20px}.footer-links{gap:22px;flex-wrap:wrap}.footer-link{font-size:14px}}

/* Keep the complete mioPOD product shot visible with breathing room. */
.project-thumbnail img.thumbnail-padded{object-fit:contain;box-sizing:border-box;padding:3%;background:#171719}

/* A tighter transition from the brand to the opening headline. */
.hero{padding-top:22px}
.hero-heading{padding-top:8px}
@media(max-width:720px){.hero{padding-top:18px}.hero-heading{padding-top:8px}}

/* Project descriptors sit quietly below the role. */
.project-tags{display:flex;flex-wrap:wrap;gap:5px 0;list-style:none;padding:0;margin:20px 0 0}
.project-tags li{display:flex;align-items:center;font-size:13px;font-weight:500;line-height:1.6;color:var(--muted)}
.project-tags li:not(:last-child)::after{content:"·";margin:0 10px;color:#989BA5}

.dialog-details p.project-role{line-height:1.35}

/* Minimal reel cover: one centered play control. */
.reel-poster .play-reel{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);gap:0}
.reel-poster .play-circle{width:80px;height:80px}
.reel-poster .play-circle svg{width:26px;height:26px}
@media(max-width:720px){.reel-poster .play-circle{width:64px;height:64px}.reel-poster .play-circle svg{width:22px;height:22px}}

/* Keep the logo and contact CTA on one row, including phone widths. */
.nav-label-short{display:none}
@media(max-width:720px){
 .site-header{flex-wrap:nowrap;gap:12px;min-height:100px}
 .site-header .header-brand{flex:1 1 auto;min-width:0}
 .site-header .wordmark{font-size:clamp(23px,6.3vw,33px);letter-spacing:-.045em;white-space:nowrap}
 .site-header .header-brand .eyebrow{font-size:clamp(8px,2.1vw,10px);letter-spacing:.06em;white-space:nowrap}
 .site-header nav{flex:0 0 auto;gap:0;margin-left:auto}
 .site-header .nav-contact{margin-left:0;min-height:44px;padding:10px;gap:10px;font-size:13px;white-space:nowrap}
 .nav-contact .nav-label-full{display:inline}
 .site-header .nav-contact svg{display:block;width:14px;height:14px}
 .nav-contact .nav-label-short{display:none}
}

@media(max-width:350px){.site-header .nav-contact{padding-inline:8px;gap:6px;font-size:12px}}

/* Scale the wordmark and subtitle together with identical proportions. */
.site-header{flex-wrap:nowrap}
.site-header .header-brand{--brand-size:49.5px;gap:calc(var(--brand-size) * .212121);flex:0 0 auto;align-items:flex-start}
.site-header .header-brand .wordmark{font-size:var(--brand-size);letter-spacing:calc(var(--brand-size) * -.048);white-space:nowrap}
.site-header .header-brand .eyebrow{font-size:max(9px,calc(var(--brand-size) * .32));letter-spacing:calc(var(--brand-size) * .018);font-weight:500;color:var(--muted);margin:0;white-space:nowrap}
.site-header nav{flex-shrink:0}
@media(max-width:1000px){.site-header .nav-link{display:none}}
@media(max-width:720px){
 .site-header{gap:8px}
 .site-header .header-brand{--brand-size:clamp(25.3px,6.93vw,36.3px)}
 .site-header .nav-contact{font-size:12px;padding-inline:8px;gap:8px}
 .site-header .nav-contact svg{width:13px;height:13px}
}
@media(max-width:350px){
 .site-header{gap:6px}
 .site-header .nav-contact{font-size:10px;padding-inline:6px;gap:4px}
 .site-header .nav-contact svg{width:11px;height:11px}
}

/* Preview: tighter brand lockup with more breathing room below. */
.site-header{min-height:0;padding-top:20px;padding-bottom:14px}
